Package com.stripe.param
Class PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.Builder
- Enclosing class:
- PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions
public static class PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.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(EmptyParam amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.setAmountTaxDisplay(PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.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 this invoice.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmountTaxDisplay
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.Builder setAmountTaxDisplay(PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.AmountTaxDisplay amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One ofexclude_taxorinclude_inclusive_tax.include_inclusive_taxwill include inclusive tax (and exclude exclusive tax) in invoice PDF amounts.exclude_taxwill exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. -
setAmountTaxDisplay
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.Builder setAmountTaxDisplay(EmptyParam amountTaxDisplay) How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One ofexclude_taxorinclude_inclusive_tax.include_inclusive_taxwill include inclusive tax (and exclude exclusive tax) in invoice PDF amounts.exclude_taxwill exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. -
putExtraParam
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.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. SeePaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.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. SeePaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.extraParamsfor the field documentation. -
setTemplate
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.Builder setTemplate(String template) ID of the invoice rendering template to use for this invoice. -
setTemplate
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions.Builder setTemplate(EmptyParam template)
-