Package com.stripe.param
Class CreditNotePreviewParams.Line.TaxAmount.Builder
java.lang.Object
com.stripe.param.CreditNotePreviewParams.Line.TaxAmount.Builder
- Enclosing class:
- CreditNotePreviewParams.Line.TaxAmount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. The amount, in cents (or local equivalent), of the tax.setTaxableAmount
(Long taxableAmount) setTaxRate
(String taxRate) Required. The id of the tax rate for this tax amount.
-
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
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. SeeCreditNotePreviewParams.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. SeeCreditNotePreviewParams.Line.TaxAmount.extraParams
for the field documentation. -
setTaxRate
Required. The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe. -
setTaxableAmount
-