Package com.stripe.param
Class SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.Phase.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.addAllCustomField(List<SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.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.setAccountTaxIds(EmptyParam accountTaxIds) The account tax IDs associated with this phase of the subscription schedule.setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with this phase of the subscription schedule.setCustomFields(EmptyParam customFields) A list of up to 4 custom fields to be displayed on the invoice.setCustomFields(List<SubscriptionScheduleUpdateParams.Phase.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 invoices generated by this subscription schedule.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
public SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.accountTaxIdsfor the field documentation. -
addAllAccountTaxId
public SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.accountTaxIdsfor the field documentation. -
setAccountTaxIds
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setAccountTaxIds(EmptyParam accountTaxIds) The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. -
setAccountTaxIds
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule. -
addCustomField
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder addCustomField(SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.customFieldsfor the field documentation. -
addAllCustomField
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder addAllCustomField(List<SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.customFieldsfor the field documentation. -
setCustomFields
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setCustomFields(EmptyParam customFields) A list of up to 4 custom fields to be displayed on the invoice. -
setCustomFields
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setCustomFields(List<SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.CustomField> customFields) A list of up to 4 custom fields to be displayed on the invoice. -
setDaysUntilDue
public SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.Builder setDescription(String description) An arbitrary string attached to the object. Often useful for displaying to users. -
setDescription
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setDescription(EmptyParam description) An arbitrary string attached to the object. Often useful for displaying to users. -
putExtraParam
public SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.Phase.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.Phase.InvoiceSettings.extraParamsfor the field documentation. -
setIssuer
public SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Builder setIssuer(SubscriptionScheduleUpdateParams.Phase.InvoiceSettings.Issuer issuer) The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
-