Package com.stripe.param
Class QuoteCreateParams.InvoiceSettings.Builder
java.lang.Object
com.stripe.param.QuoteCreateParams.InvoiceSettings.Builder
- Enclosing class:
- QuoteCreateParams.InvoiceSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd 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.setCustomFields(EmptyParam customFields) A list of up to 4 custom fields to be displayed on the invoice.setCustomFields(List<QuoteCreateParams.InvoiceSettings.CustomField> customFields) A list of up to 4 custom fields to be displayed on the invoice.setDaysUntilDue(Long daysUntilDue) Number of days within which a customer must pay the invoice generated by this quote.setDescription(EmptyParam description) An arbitrary string attached to the object.setDescription(String description) An arbitrary string attached to the object.setFooter(EmptyParam footer) Footer to be displayed on the invoice.Footer to be displayed on the invoice.The connected account that issues the invoice.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addCustomField
public QuoteCreateParams.InvoiceSettings.Builder addCustomField(QuoteCreateParams.InvoiceSettings.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. SeeQuoteCreateParams.InvoiceSettings.customFieldsfor the field documentation. -
addAllCustomField
public QuoteCreateParams.InvoiceSettings.Builder addAllCustomField(List<QuoteCreateParams.InvoiceSettings.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. SeeQuoteCreateParams.InvoiceSettings.customFieldsfor the field documentation. -
setCustomFields
A list of up to 4 custom fields to be displayed on the invoice. -
setCustomFields
public QuoteCreateParams.InvoiceSettings.Builder setCustomFields(List<QuoteCreateParams.InvoiceSettings.CustomField> customFields) A list of up to 4 custom fields to be displayed on the invoice. -
setDaysUntilDue
Number of days within which a customer must pay the invoice generated by this quote. This value will benullfor quotes wherecollection_method=charge_automatically. -
setDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
setDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
putExtraParam
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. SeeQuoteCreateParams.InvoiceSettings.extraParamsfor the field documentation. -
putAllExtraParam
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. SeeQuoteCreateParams.InvoiceSettings.extraParamsfor the field documentation. -
setIssuer
public QuoteCreateParams.InvoiceSettings.Builder setIssuer(QuoteCreateParams.InvoiceSettings.Issuer issuer) The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
-