Package com.stripe.param
Class InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
public static class InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
extends Object
-
Constructor Summary
-
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.setBankTransfer
(InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer bankTransfer) Configuration for the bank transfer funding type, if thefunding_type
is set tobank_transfer
.setFundingType
(String fundingType) The funding method type to be used when there are not enough funds in the customer balance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBankTransfer
public InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder setBankTransfer(InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer bankTransfer) Configuration for the bank transfer funding type, if thefunding_type
is set tobank_transfer
. -
putExtraParam
public InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.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. SeeInvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.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. SeeInvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.extraParams
for the field documentation. -
setFundingType
public InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder setFundingType(String fundingType) The funding method type to be used when there are not enough funds in the customer balance. Permitted values include:bank_transfer
.
-