Package com.stripe.param
Class SubscriptionUpdateParams.InvoiceSettings.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.InvoiceSettings.Builder
- Enclosing class:
- SubscriptionUpdateParams.InvoiceSettings
-
Constructor Summary
Constructors -
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.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setAccountTaxIds(EmptyParam accountTaxIds) The account tax IDs associated with the subscription.setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the subscription.setCustomFields(EmptyParam customFields) A list of up to 4 custom fields to be displayed on the invoice.A list of up to 4 custom fields to be displayed on the invoice.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. -
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. SeeSubscriptionUpdateParams.InvoiceSettings.accountTaxIdsfor the field documentation. -
addAllAccountTaxId
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. SeeSubscriptionUpdateParams.InvoiceSettings.accountTaxIdsfor the field documentation. -
setAccountTaxIds
The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription. -
setAccountTaxIds
public SubscriptionUpdateParams.InvoiceSettings.Builder setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription. -
addCustomField
public SubscriptionUpdateParams.InvoiceSettings.Builder addCustomField(SubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.InvoiceSettings.customFieldsfor the field documentation. -
addAllCustomField
public SubscriptionUpdateParams.InvoiceSettings.Builder addAllCustomField(List<SubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.InvoiceSettings.customFieldsfor the field documentation. -
setCustomFields
A list of up to 4 custom fields to be displayed on the invoice. -
setCustomFields
public SubscriptionUpdateParams.InvoiceSettings.Builder setCustomFields(List<SubscriptionUpdateParams.InvoiceSettings.CustomField> customFields) A list of up to 4 custom fields to be displayed on the invoice. -
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. SeeSubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.InvoiceSettings.extraParamsfor the field documentation. -
setIssuer
public SubscriptionUpdateParams.InvoiceSettings.Builder setIssuer(SubscriptionUpdateParams.InvoiceSettings.Issuer issuer) The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
-