Package com.stripe.param
Class CustomerUpdateParams.InvoiceSettings.RenderingOptions.Builder
java.lang.Object
com.stripe.param.CustomerUpdateParams.InvoiceSettings.RenderingOptions.Builder
- Enclosing class:
- CustomerUpdateParams.InvoiceSettings.RenderingOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setAmountTaxDisplay
(EmptyParam amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.setAmountTaxDisplay
(CustomerUpdateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmountTaxDisplay
public CustomerUpdateParams.InvoiceSettings.RenderingOptions.Builder setAmountTaxDisplay(CustomerUpdateParams.InvoiceSettings.RenderingOptions.AmountTaxDisplay amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One ofexclude_tax
orinclude_inclusive_tax
.include_inclusive_tax
will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts.exclude_tax
will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. -
setAmountTaxDisplay
public CustomerUpdateParams.InvoiceSettings.RenderingOptions.Builder setAmountTaxDisplay(EmptyParam amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One ofexclude_tax
orinclude_inclusive_tax
.include_inclusive_tax
will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts.exclude_tax
will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. -
putExtraParam
public CustomerUpdateParams.InvoiceSettings.RenderingOptions.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. SeeCustomerUpdateParams.InvoiceSettings.RenderingOptions.extraParams
for the field documentation. -
putAllExtraParam
public CustomerUpdateParams.InvoiceSettings.RenderingOptions.Builder putAllExtraParam(Map<String, Object> map)
-