Package com.stripe.param
Class SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
java.lang.Object
com.stripe.param.SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
public static class SubscriptionCreateParams.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
(SubscriptionCreateParams.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 SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder setBankTransfer(SubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer bankTransfer) Configuration for the bank transfer funding type, if thefunding_type
is set tobank_transfer
. -
putExtraParam
public SubscriptionCreateParams.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. SeeSubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionCreateParams.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. SeeSubscriptionCreateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.extraParams
for the field documentation. -
setFundingType
public SubscriptionCreateParams.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
.
-