Package com.stripe.param
Class PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder
- Enclosing class:
- PaymentLinkCreateParams.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
(String description) An arbitrary string attached to the object.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
(PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.accountTaxIds
for the field documentation. -
addAllAccountTaxId
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.accountTaxIds
for the field documentation. -
setAccountTaxIds
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setAccountTaxIds(EmptyParam accountTaxIds) The account tax IDs associated with the invoice. -
setAccountTaxIds
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the invoice. -
addCustomField
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder addCustomField(PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.customFields
for the field documentation. -
addAllCustomField
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder addAllCustomField(List<PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.customFields
for the field documentation. -
setCustomFields
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setCustomFields(EmptyParam customFields) Default custom fields to be displayed on invoices for this customer. -
setCustomFields
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setCustomFields(List<PaymentLinkCreateParams.InvoiceCreation.InvoiceData.CustomField> customFields) Default custom fields to be displayed on invoices for this customer. -
setDescription
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setDescription(String description) An arbitrary string attached to the object. Often useful for displaying to users. -
putExtraParam
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.extraParams
for the field documentation. -
setIssuer
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setIssuer(PaymentLinkCreateParams.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 PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.InvoiceCreation.InvoiceData.metadata
for the field documentation. -
putAllMetadata
public PaymentLinkCreateParams.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. SeePaymentLinkCreateParams.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 PaymentLinkCreateParams.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 PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setRenderingOptions(PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions renderingOptions) Default options for invoice PDF rendering for this customer. -
setRenderingOptions
public PaymentLinkCreateParams.InvoiceCreation.InvoiceData.Builder setRenderingOptions(EmptyParam renderingOptions) Default options for invoice PDF rendering for this customer.
-