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

public static class Account.Configuration.Customer extends StripeObject
For more details about Customer, please refer to the API Reference.
  • Constructor Details

    • Customer

      public Customer()
  • Method Details

    • getApplied

      public Boolean getApplied()
      Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
    • getAutomaticIndirectTax

      public Account.Configuration.Customer.AutomaticIndirectTax 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

      public String 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

      public void setApplied(Boolean applied)
      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

      public void setBilling(Account.Configuration.Customer.Billing billing)
      Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
    • setCapabilities

      public void setCapabilities(Account.Configuration.Customer.Capabilities capabilities)
      Capabilities that have been requested on the Customer Configuration.
    • setShipping

      public void setShipping(Account.Configuration.Customer.Shipping shipping)
      The customer's shipping information. Appears on invoices emailed to this customer.
    • setTestClock

      public void setTestClock(String testClock)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object