Class CalculationCreateParams.CustomerDetails

Enclosing class:

public static class CalculationCreateParams.CustomerDetails extends Object
  • Method Details

    • builder

    • getAddress

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

      The type of customer address provided.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getIpAddress

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

      The customer's tax IDs. Stripe Tax might consider a transaction with applicable tax IDs to be B2B, which might affect the tax calculation result. Stripe Tax doesn't validate tax IDs for correctness.
    • getTaxabilityOverride

      Overrides the tax calculation result to allow you to not collect tax from your customer. Use this if you've manually checked your customer's tax exemptions. Prefer providing the customer's tax_ids where possible, which automatically determines whether reverse_charge applies.