Package com.stripe.param
Class SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder
public static class SubscriptionUpdateParams.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
(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer bankTransfer) Configuration for the bank transfer funding type, if thefunding_type
is set tobank_transfer
.setFundingType
(EmptyParam fundingType) The funding method type to be used when there are not enough funds in the customer balance.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 SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder setBankTransfer(SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer bankTransfer) Configuration for the bank transfer funding type, if thefunding_type
is set tobank_transfer
. -
putExtraParam
public SubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.extraParams
for the field documentation. -
setFundingType
public SubscriptionUpdateParams.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
. -
setFundingType
public SubscriptionUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance.Builder setFundingType(EmptyParam fundingType) The funding method type to be used when there are not enough funds in the customer balance. Permitted values include:bank_transfer
.
-