Class SessionCreateParams.AutomaticTax

Enclosing class:

public static class SessionCreateParams.AutomaticTax extends Object
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See SessionCreateParams.AfterExpiration.Recovery.extraParams for the field documentation.
  • Method Details

    • builder

    • getEnabled

      public Boolean getEnabled()
      Required. Set to true to enable automatic taxes.
    • 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.
    • getLiability

      The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.