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 class
Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links.static class
Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.static class
Capabilities that have been requested on the Customer Configuration.static class
The 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 boolean
boolean
Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.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.ID of the test clock to attach to the customer.int
hashCode()
void
setApplied
(Boolean applied) Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.void
setAutomaticIndirectTax
(Account.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.void
Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.void
setCapabilities
(Account.Configuration.Customer.Capabilities capabilities) Capabilities that have been requested on the Customer Configuration.void
The customer's shipping information.void
setTestClock
(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
Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration. -
getAutomaticIndirectTax
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. -
getBilling
Billing settings - default settings used for this customer in Billing flows such as 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
Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration. -
setAutomaticIndirectTax
public void setAutomaticIndirectTax(Account.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
Billing settings - default settings used for this customer in Billing flows such as 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()
-