Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodOptions.Paypal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setCaptureMethod
(EmptyParam captureMethod) setCaptureMethod
(PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.CaptureMethod captureMethod) setPreferredLocale
(PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.PreferredLocale preferredLocale) setReferenceId
(String referenceId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCaptureMethod
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder setCaptureMethod(PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.CaptureMethod captureMethod) -
setCaptureMethod
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder setCaptureMethod(EmptyParam captureMethod) -
putExtraParam
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentConfirmParams.PaymentMethodOptions.Paypal.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentConfirmParams.PaymentMethodOptions.Paypal.extraParams
for the field documentation. -
setPreferredLocale
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder setPreferredLocale(PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.PreferredLocale preferredLocale) -
setReferenceId
public PaymentIntentConfirmParams.PaymentMethodOptions.Paypal.Builder setReferenceId(String referenceId)
-