Class SubscriptionCreateParams.AutomaticTax

  • Enclosing class:
    SubscriptionCreateParams

    public static class SubscriptionCreateParams.AutomaticTax
    extends java.lang.Object
    Same as unit_amount, but accepts a decimal value in %s with at most 12 decimal places. Only one of unit_amount and unit_amount_decimal can be set.
    • Method Detail

      • getEnabled

        public java.lang.Boolean getEnabled()
        Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
      • getExtraParams

        public java.util.Map<java.lang.String,​java.lang.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.