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) The ID of aPaymentMethodattached to this Account'scustomerconfiguration, used as the default payment method for invoices and subscriptions.setDefaultPaymentMethod(String defaultPaymentMethod) The ID of aPaymentMethodattached to this Account'scustomerconfiguration, used as the default payment method for invoices and subscriptions.Default invoice settings for the customer account.
-
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) The ID of aPaymentMethodattached to this Account'scustomerconfiguration, used as the default payment method for invoices and subscriptions. -
setDefaultPaymentMethod
public AccountUpdateParams.Configuration.Customer.Billing.Builder setDefaultPaymentMethod(EmptyParam defaultPaymentMethod) The ID of aPaymentMethodattached to this Account'scustomerconfiguration, used as the 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.extraParamsfor 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.extraParamsfor the field documentation. -
setInvoice
public AccountUpdateParams.Configuration.Customer.Billing.Builder setInvoice(AccountUpdateParams.Configuration.Customer.Billing.Invoice invoice) Default invoice settings for the customer account.
-