Package com.stripe.param
Class PaymentMethodUpdateParams.Custom.Builder
java.lang.Object
com.stripe.param.PaymentMethodUpdateParams.Custom.Builder
- Enclosing class:
- PaymentMethodUpdateParams.Custom
-
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.setPaymentMethodReference(EmptyParam paymentMethodReference) A reference to an external payment method, such as a PayPal Billing Agreement ID.setPaymentMethodReference(String paymentMethodReference) A reference to an external payment method, such as a PayPal Billing Agreement ID.Indicates whether the payment method supports off-session payments.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
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. SeePaymentMethodUpdateParams.Custom.extraParamsfor the field documentation. -
putAllExtraParam
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. SeePaymentMethodUpdateParams.Custom.extraParamsfor the field documentation. -
setPaymentMethodReference
public PaymentMethodUpdateParams.Custom.Builder setPaymentMethodReference(String paymentMethodReference) A reference to an external payment method, such as a PayPal Billing Agreement ID. -
setPaymentMethodReference
public PaymentMethodUpdateParams.Custom.Builder setPaymentMethodReference(EmptyParam paymentMethodReference) A reference to an external payment method, such as a PayPal Billing Agreement ID. -
setUsage
public PaymentMethodUpdateParams.Custom.Builder setUsage(PaymentMethodUpdateParams.Custom.Usage usage) Indicates whether the payment method supports off-session payments.
-