Class Calculation.CustomerDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.tax.Calculation.CustomerDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Calculation

public static class Calculation.CustomerDetails extends StripeObject
  • Constructor Details

    • CustomerDetails

      public CustomerDetails()
  • Method Details

    • getAddress

      The customer's postal address (for example, home or business location).
    • getAddressSource

      public String getAddressSource()
      The type of customer address provided.

      One of billing, or shipping.

    • getIpAddress

      public String getIpAddress()
      The customer's IP address (IPv4 or IPv6).
    • getTaxIds

      The customer's tax IDs (for example, EU VAT numbers).
    • getTaxabilityOverride

      public String getTaxabilityOverride()
      The taxability override used for taxation.

      One of customer_exempt, none, or reverse_charge.

    • setAddress

      public void setAddress(Calculation.CustomerDetails.Address address)
      The customer's postal address (for example, home or business location).
    • setAddressSource

      public void setAddressSource(String addressSource)
      The type of customer address provided.

      One of billing, or shipping.

    • setIpAddress

      public void setIpAddress(String ipAddress)
      The customer's IP address (IPv4 or IPv6).
    • setTaxIds

      public void setTaxIds(List<Calculation.CustomerDetails.TaxId> taxIds)
      The customer's tax IDs (for example, EU VAT numbers).
    • setTaxabilityOverride

      public void setTaxabilityOverride(String taxabilityOverride)
      The taxability override used for taxation.

      One of customer_exempt, none, or reverse_charge.

    • 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