Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Customer.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Customer.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Customer
-
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.setApplied
(Boolean applied) Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.setAutomaticIndirectTax
(AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax automaticIndirectTax) Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links.Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.Capabilities that have been requested on the Customer Configuration.The customer's shipping information.setTestClock
(EmptyParam testClock) ID of the test clock to attach to the customer.setTestClock
(String testClock) ID of the test clock to attach to the customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setApplied
Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration. -
setAutomaticIndirectTax
public AccountUpdateParams.Configuration.Customer.Builder setAutomaticIndirectTax(AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax automaticIndirectTax) Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information. -
setBilling
public AccountUpdateParams.Configuration.Customer.Builder setBilling(AccountUpdateParams.Configuration.Customer.Billing billing) Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions. -
setCapabilities
public AccountUpdateParams.Configuration.Customer.Builder setCapabilities(AccountUpdateParams.Configuration.Customer.Capabilities capabilities) Capabilities that have been requested on the Customer Configuration. -
putExtraParam
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.extraParams
for the field documentation. -
putAllExtraParam
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.extraParams
for the field documentation. -
setShipping
public AccountUpdateParams.Configuration.Customer.Builder setShipping(AccountUpdateParams.Configuration.Customer.Shipping shipping) The customer's shipping information. Appears on invoices emailed to this customer. -
setTestClock
ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account. -
setTestClock
ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account.
-