Package com.stripe.param.checkout
Class SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
public static class SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestedAddressType
(List<SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.RequestedAddressType> elements) Add all elements to `requestedAddressTypes` list.addRequestedAddressType
(SessionCreateParams.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
(SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer euBankTransfer) Configuration for eu_bank_transfer funding type.Required. The list of bank transfer types that this PaymentIntent is allowed to use for funding.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEuBankTransfer
public SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder setEuBankTransfer(SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer euBankTransfer) Configuration for eu_bank_transfer funding type. -
putExtraParam
public SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.extraParams
for the field documentation. -
addRequestedAddressType
public SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder addRequestedAddressType(SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.requestedAddressTypes
for the field documentation. -
addAllRequestedAddressType
public SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder addAllRequestedAddressType(List<SessionCreateParams.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. SeeSessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.requestedAddressTypes
for the field documentation. -
setType
public SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Builder setType(SessionCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.Type type) Required. The list of bank transfer types that this PaymentIntent is allowed to use for funding.
-