Package com.stripe.param.v2.core
Class AccountCreateParams.Configuration.Customer.Billing.Invoice.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Configuration.Customer.Billing.Invoice.Builder
- Enclosing class:
- AccountCreateParams.Configuration.Customer.Billing.Invoice
public static class AccountCreateParams.Configuration.Customer.Billing.Invoice.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomField(List<AccountCreateParams.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.Default invoice footer.setNextSequence(Long nextSequence) Sequence number to use on the customer account's next invoice.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 AccountCreateParams.Configuration.Customer.Billing.Invoice.Builder addCustomField(AccountCreateParams.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. SeeAccountCreateParams.Configuration.Customer.Billing.Invoice.customFieldsfor the field documentation. -
addAllCustomField
public AccountCreateParams.Configuration.Customer.Billing.Invoice.Builder addAllCustomField(List<AccountCreateParams.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. SeeAccountCreateParams.Configuration.Customer.Billing.Invoice.customFieldsfor the field documentation. -
putExtraParam
public AccountCreateParams.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. SeeAccountCreateParams.Configuration.Customer.Billing.Invoice.extraParamsfor the field documentation. -
putAllExtraParam
public AccountCreateParams.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. SeeAccountCreateParams.Configuration.Customer.Billing.Invoice.extraParamsfor the field documentation. -
setNextSequence
public AccountCreateParams.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. -
setRendering
public AccountCreateParams.Configuration.Customer.Billing.Invoice.Builder setRendering(AccountCreateParams.Configuration.Customer.Billing.Invoice.Rendering rendering) Default invoice PDF rendering options.
-