Package com.stripe.param
Class SetupIntentConfirmParams.PaymentMethodOptions.Paypal.Builder
java.lang.Object
com.stripe.param.SetupIntentConfirmParams.PaymentMethodOptions.Paypal.Builder
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodOptions.Paypal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllSubseller
(List<String> elements) Add all elements to `subsellers` list.addSubseller
(String element) Add an element to `subsellers` list.build()
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.setBillingAgreementId
(String billingAgreementId) The PayPal Billing Agreement ID (BAID).setCurrency
(String currency)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingAgreementId
public SetupIntentConfirmParams.PaymentMethodOptions.Paypal.Builder setBillingAgreementId(String billingAgreementId) The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer. -
setCurrency
-
putExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.Paypal.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.Paypal.extraParams
for the field documentation. -
addSubseller
Add an element to `subsellers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSetupIntentConfirmParams.PaymentMethodOptions.Paypal.subsellers
for the field documentation. -
addAllSubseller
public SetupIntentConfirmParams.PaymentMethodOptions.Paypal.Builder addAllSubseller(List<String> elements) Add all elements to `subsellers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSetupIntentConfirmParams.PaymentMethodOptions.Paypal.subsellers
for the field documentation.
-