Package com.stripe.param
Class PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
public static class PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestedAddressType
(List<PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType> elements) Add all elements to `requestedAddressTypes` list.addRequestedAddressType
(PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType element) Add an element to `requestedAddressTypes` 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.setEuBankTransfer
(PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer euBankTransfer) Configuration for the eu_bank_transfer funding type.Required. The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include:eu_bank_transfer
,gb_bank_transfer
,jp_bank_transfer
,mx_bank_transfer
, orus_bank_transfer
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEuBankTransfer
public PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder setEuBankTransfer(PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer euBankTransfer) Configuration for the eu_bank_transfer funding type. -
putExtraParam
public PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.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. SeePaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.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. SeePaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.extraParams
for the field documentation. -
addRequestedAddressType
public PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder addRequestedAddressType(PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType element) Add an element to `requestedAddressTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.requestedAddressTypes
for the field documentation. -
addAllRequestedAddressType
public PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder addAllRequestedAddressType(List<PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType> elements) Add all elements to `requestedAddressTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.requestedAddressTypes
for the field documentation. -
setType
public PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder setType(PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type type) Required. The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include:eu_bank_transfer
,gb_bank_transfer
,jp_bank_transfer
,mx_bank_transfer
, orus_bank_transfer
.
-