Package com.stripe.param
Class PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder
- Enclosing class:
- PaymentLinkUpdateParams.InvoiceCreation.InvoiceData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAccountTaxId
(String element) Add an element to `accountTaxIds` list.addAllAccountTaxId
(List<String> elements) Add all elements to `accountTaxIds` list.Add all elements to `customFields` list.Add an element to `customFields` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata
(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.setAccountTaxIds
(EmptyParam accountTaxIds) The account tax IDs associated with the invoice.setAccountTaxIds
(List<String> accountTaxIds) The account tax IDs associated with the invoice.setCustomFields
(EmptyParam customFields) Default custom fields to be displayed on invoices for this customer.Default custom fields to be displayed on invoices for this customer.setDescription
(EmptyParam description) An arbitrary string attached to the object.setDescription
(String description) An arbitrary string attached to the object.setFooter
(EmptyParam footer) Default footer to be displayed on invoices for this customer.Default footer to be displayed on invoices for this customer.The connected account that issues the invoice.setMetadata
(EmptyParam metadata) Set of key-value pairs that you can attach to an object.setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.setRenderingOptions
(EmptyParam renderingOptions) Default options for invoice PDF rendering for this customer.setRenderingOptions
(PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions renderingOptions) Default options for invoice PDF rendering for this customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAccountTaxId
Add an element to `accountTaxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkUpdateParams.InvoiceCreation.InvoiceData.accountTaxIds
for the field documentation. -
addAllAccountTaxId
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder addAllAccountTaxId(List<String> elements) Add all elements to `accountTaxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkUpdateParams.InvoiceCreation.InvoiceData.accountTaxIds
for the field documentation. -
setAccountTaxIds
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setAccountTaxIds(EmptyParam accountTaxIds) The account tax IDs associated with the invoice. -
setAccountTaxIds
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the invoice. -
addCustomField
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder addCustomField(PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField element) Add an element to `customFields` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkUpdateParams.InvoiceCreation.InvoiceData.customFields
for the field documentation. -
addAllCustomField
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder addAllCustomField(List<PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField> elements) Add all elements to `customFields` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentLinkUpdateParams.InvoiceCreation.InvoiceData.customFields
for the field documentation. -
setCustomFields
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setCustomFields(EmptyParam customFields) Default custom fields to be displayed on invoices for this customer. -
setCustomFields
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setCustomFields(List<PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.CustomField> customFields) Default custom fields to be displayed on invoices for this customer. -
setDescription
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setDescription(String description) An arbitrary string attached to the object. Often useful for displaying to users. -
setDescription
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setDescription(EmptyParam description) An arbitrary string attached to the object. Often useful for displaying to users. -
putExtraParam
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.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.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.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.extraParams
for the field documentation. -
setIssuer
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setIssuer(PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Issuer issuer) The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. -
putMetadata
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder putMetadata(String key, String value) Add a key/value pair to `metadata` 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.metadata
for the field documentation. -
putAllMetadata
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder putAllMetadata(Map<String, String> map) Add all map key/value pairs to `metadata` 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.metadata
for the field documentation. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
setMetadata
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
setRenderingOptions
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setRenderingOptions(PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.RenderingOptions renderingOptions) Default options for invoice PDF rendering for this customer. -
setRenderingOptions
public PaymentLinkUpdateParams.InvoiceCreation.InvoiceData.Builder setRenderingOptions(EmptyParam renderingOptions) Default options for invoice PDF rendering for this customer.
-