Class InvoiceAddLinesParams.Line.TaxAmount.Builder

java.lang.Object
com.stripe.param.InvoiceAddLinesParams.Line.TaxAmount.Builder
Enclosing class:
InvoiceAddLinesParams.Line.TaxAmount

public static class InvoiceAddLinesParams.Line.TaxAmount.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      Finalize and obtain parameter instance from this builder.
    • setAmount

      Required. The amount, in cents (or local equivalent), of the tax.
    • putExtraParam

      public InvoiceAddLinesParams.Line.TaxAmount.Builder putExtraParam(String key, Object value)
      Add a key/value pair 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 InvoiceAddLinesParams.Line.TaxAmount.extraParams for the field documentation.
    • putAllExtraParam

      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 InvoiceAddLinesParams.Line.TaxAmount.extraParams for the field documentation.
    • setTaxRateData

      Required. Data to find or create a TaxRate object.

      Stripe automatically creates or reuses a TaxRate object for each tax amount. If the tax_rate_data exactly matches a previous value, Stripe will reuse the TaxRate object. TaxRate objects created automatically by Stripe are immediately archived, do not appear in the line item’s tax_rates, and cannot be directly added to invoices, payments, or line items.

    • setTaxableAmount

      public InvoiceAddLinesParams.Line.TaxAmount.Builder setTaxableAmount(Long taxableAmount)
      Required. The amount on which tax is calculated, in cents (or local equivalent).