Package com.stripe.model.v2.core
Class Account.Configuration.Customer
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Account.Configuration.Customer
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account.Configuration
The Customer Configuration allows the Account to be used in inbound payment flows.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSettings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links.static classDefault Billing settings for the customer account, used in Invoices and Subscriptions.static classCapabilities that have been requested on the Customer Configuration.static classThe customer's shipping information. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIndicates whether the customer configuration is active.Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links.Default Billing settings for the customer account, used in Invoices and Subscriptions.Capabilities that have been requested on the Customer Configuration.The customer's shipping information.ID of the test clock to attach to the customer.inthashCode()voidsetApplied(Boolean applied) Indicates whether the customer configuration is active.voidsetAutomaticIndirectTax(Account.Configuration.Customer.AutomaticIndirectTax automaticIndirectTax) Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links.voidDefault Billing settings for the customer account, used in Invoices and Subscriptions.voidsetCapabilities(Account.Configuration.Customer.Capabilities capabilities) Capabilities that have been requested on the Customer Configuration.voidThe customer's shipping information.voidsetTestClock(String testClock) ID of the test clock to attach to the customer.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Customer
public Customer()
-
-
Method Details
-
getApplied
Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. -
getAutomaticIndirectTax
Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location. -
getBilling
Default Billing settings for the customer account, used in Invoices and Subscriptions. -
getCapabilities
Capabilities that have been requested on the Customer Configuration. -
getShipping
The customer's shipping information. Appears on invoices emailed to this customer. -
getTestClock
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. -
setApplied
Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties. -
setAutomaticIndirectTax
public void setAutomaticIndirectTax(Account.Configuration.Customer.AutomaticIndirectTax automaticIndirectTax) Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location. -
setBilling
Default Billing settings for the customer account, used in Invoices and Subscriptions. -
setCapabilities
Capabilities that have been requested on the Customer Configuration. -
setShipping
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. -
equals
-
canEqual
-
hashCode
public int hashCode()
-