Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Customer.Billing.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Customer.Billing.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Customer.Billing
-
Constructor Summary
Constructors -
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.setDefaultPaymentMethod
(EmptyParam defaultPaymentMethod) ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.setDefaultPaymentMethod
(String defaultPaymentMethod) ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.Default settings used on invoices for this customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDefaultPaymentMethod
public AccountUpdateParams.Configuration.Customer.Billing.Builder setDefaultPaymentMethod(String defaultPaymentMethod) ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions. -
setDefaultPaymentMethod
public AccountUpdateParams.Configuration.Customer.Billing.Builder setDefaultPaymentMethod(EmptyParam defaultPaymentMethod) ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions. -
putExtraParam
public AccountUpdateParams.Configuration.Customer.Billing.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. SeeAccountUpdateParams.Configuration.Customer.Billing.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.Configuration.Customer.Billing.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. SeeAccountUpdateParams.Configuration.Customer.Billing.extraParams
for the field documentation. -
setInvoice
public AccountUpdateParams.Configuration.Customer.Billing.Builder setInvoice(AccountUpdateParams.Configuration.Customer.Billing.Invoice invoice) Default settings used on invoices for this customer.
-