Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Customer.Billing.Invoice
public static class AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomField
(List<AccountUpdateParams.Configuration.Customer.Billing.Invoice.CustomField> elements) 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.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setFooter
(EmptyParam footer) Default footer to be displayed on invoices for this customer.Default footer to be displayed on invoices for this customer.setNextSequence
(Integer nextSequence) The sequence to be used on the customer's next invoice.setPrefix
(EmptyParam prefix) The prefix for the customer used to generate unique invoice numbers.The prefix for the customer used to generate unique invoice numbers.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. -
addCustomField
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder addCustomField(AccountUpdateParams.Configuration.Customer.Billing.Invoice.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. SeeAccountUpdateParams.Configuration.Customer.Billing.Invoice.customFields
for the field documentation. -
addAllCustomField
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder addAllCustomField(List<AccountUpdateParams.Configuration.Customer.Billing.Invoice.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. SeeAccountUpdateParams.Configuration.Customer.Billing.Invoice.customFields
for the field documentation. -
putExtraParam
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.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.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.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.extraParams
for the field documentation. -
setNextSequence
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder setNextSequence(Integer nextSequence) The sequence to be used on the customer's next invoice. Defaults to 1. -
setPrefix
The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. -
setPrefix
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder setPrefix(EmptyParam prefix) The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. -
setRendering
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder setRendering(AccountUpdateParams.Configuration.Customer.Billing.Invoice.Rendering rendering) Default options for invoice PDF rendering for this customer.
-