- Enclosing class:
public static class InvoiceCreateParams.AutomaticTax extends Object
Nested Class Summary
Method SummaryModifier and TypeMethodDescription
builder()Required. Whether Stripe automatically computes tax on this invoice.Map of extra parameters for custom features not available in this client library.The account that's liable for tax.
builderpublic static InvoiceCreateParams.AutomaticTax.Builder builder()
getEnabledpublic Boolean getEnabled()Required. Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified tax rates, negative amounts, or
tax_behavior=unspecified) cannot be added to automatic tax invoices.
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.
getLiabilitypublic InvoiceCreateParams.AutomaticTax.Liability 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.