Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
public static class PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestedAddressType
(List<PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType> elements) Add all elements to `requestedAddressTypes` list.addRequestedAddressType
(PaymentIntentConfirmParams.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
(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder setEuBankTransfer(PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer euBankTransfer) Configuration for the eu_bank_transfer funding type. -
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.extraParams
for the field documentation. -
addRequestedAddressType
public PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder addRequestedAddressType(PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.requestedAddressTypes
for the field documentation. -
addAllRequestedAddressType
public PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder addAllRequestedAddressType(List<PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.requestedAddressTypes
for the field documentation. -
setType
public PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder setType(PaymentIntentConfirmParams.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
.
-