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 invoice footer.Default invoice footer.setNextSequence(Long nextSequence) Sequence number to use on the customer account's next invoice.setPrefix(EmptyParam prefix) Prefix used to generate unique invoice numbers.Prefix used to generate unique invoice numbers.Default invoice PDF rendering options.
-
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.customFieldsfor 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.customFieldsfor 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.extraParamsfor 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.extraParamsfor the field documentation. -
setNextSequence
public AccountUpdateParams.Configuration.Customer.Billing.Invoice.Builder setNextSequence(Long nextSequence) Sequence number to use on the customer account's next invoice. Defaults to 1. -
setPrefix
Prefix 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) Prefix 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 invoice PDF rendering options.
-