Package com.stripe.param
Class SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings
public static class SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder
extends Object
-
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.addAllCustomField(List<SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.CustomField> elements) Add all elements to `customFields` list.addCustomField(SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.CustomField element) 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 schedule.setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the subscription schedule.setCustomFields(EmptyParam customFields) setCustomFields(List<SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.CustomField> customFields) setDaysUntilDue(Long daysUntilDue) Number of days within which a customer must pay invoices generated by this subscription schedule.setDescription(EmptyParam description) setDescription(String description) setFooter(EmptyParam footer) The connected account that issues the invoice.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAccountTaxId
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder addAccountTaxId(String element) 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. SeeSubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.accountTaxIdsfor the field documentation. -
addAllAccountTaxId
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder addAllAccountTaxId(List<String> elements) 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. SeeSubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.accountTaxIdsfor the field documentation. -
setAccountTaxIds
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setAccountTaxIds(EmptyParam accountTaxIds) The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. -
setAccountTaxIds
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule. -
addCustomField
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder addCustomField(SubscriptionScheduleUpdateParams.DefaultSettings.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. SeeSubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.customFieldsfor the field documentation. -
addAllCustomField
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder addAllCustomField(List<SubscriptionScheduleUpdateParams.DefaultSettings.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. SeeSubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.customFieldsfor the field documentation. -
setCustomFields
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setCustomFields(EmptyParam customFields) -
setCustomFields
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setCustomFields(List<SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.CustomField> customFields) -
setDaysUntilDue
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setDaysUntilDue(Long daysUntilDue) Number of days within which a customer must pay invoices generated by this subscription schedule. This value will benullfor subscription schedules wherecollection_method=charge_automatically. -
setDescription
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setDescription(String description) -
setDescription
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setDescription(EmptyParam description) -
putExtraParam
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.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. SeeSubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.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. SeeSubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.extraParamsfor the field documentation. -
setIssuer
public SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Builder setIssuer(SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings.Issuer issuer) The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
-