Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering
public static class AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder
extends Object
-
Constructor Summary
Constructors -
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.setAmountTaxDisplay
(AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.setTemplate
(EmptyParam template) setTemplate
(String template) ID of the invoice rendering template to use for future invoices.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmountTaxDisplay
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder setAmountTaxDisplay(AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.AmountTaxDisplay amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_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 AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.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. SeeAccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder putAllExtraParam(Map<String, Object> map) 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. SeeAccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.extraParams
for the field documentation. -
setTemplate
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder setTemplate(String template) ID of the invoice rendering template to use for future invoices. -
setTemplate
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering.Builder setTemplate(EmptyParam template)
-