- Enclosing class:
public static class SubscriptionCreateParams.AutomaticTax extends Object
unit_amount, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of
unit_amount_decimalcan be set.
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.Map of extra parameters for custom features not available in this client library.
builderpublic static SubscriptionCreateParams.AutomaticTax.Builder builder()
getEnabledpublic Boolean getEnabled()Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.