Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.Payco.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.Payco.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodOptions.Payco
-
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) Controls when the funds are captured from the customer's account.Controls when the funds are captured from the customer's account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCaptureMethod
public PaymentIntentUpdateParams.PaymentMethodOptions.Payco.Builder setCaptureMethod(PaymentIntentUpdateParams.PaymentMethodOptions.Payco.CaptureMethod captureMethod) Controls when the funds are captured from the customer's account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_method
is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. -
setCaptureMethod
public PaymentIntentUpdateParams.PaymentMethodOptions.Payco.Builder setCaptureMethod(EmptyParam captureMethod) Controls when the funds are captured from the customer's account.If provided, this parameter overrides the behavior of the top-level capture_method for this payment method type when finalizing the payment with this payment method type.
If
capture_method
is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. -
putExtraParam
public PaymentIntentUpdateParams.PaymentMethodOptions.Payco.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. SeePaymentIntentUpdateParams.PaymentMethodOptions.Payco.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentMethodOptions.Payco.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. SeePaymentIntentUpdateParams.PaymentMethodOptions.Payco.extraParams
for the field documentation.
-