Package com.stripe.param
Class InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.Builder
- Enclosing class:
- InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings
public static class InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAccountTaxId
(String element) Add an element to `accountTaxIds` list.addAllAccountTaxId
(List<String> elements) Add all elements to `accountTaxIds` 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.setDaysUntilDue
(Long daysUntilDue) Number of days within which a customer must pay invoices generated by this subscription schedule.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 InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.accountTaxIds
for the field documentation. -
addAllAccountTaxId
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.accountTaxIds
for the field documentation. -
setAccountTaxIds
public InvoiceUpcomingLinesListParams.ScheduleDetails.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 InvoiceUpcomingLinesListParams.ScheduleDetails.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. -
setDaysUntilDue
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.Builder setDaysUntilDue(Long daysUntilDue) Number of days within which a customer must pay invoices generated by this subscription schedule. This value will benull
for subscription schedules wherebilling=charge_automatically
. -
putExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpcomingLinesListParams.ScheduleDetails.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. SeeInvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.extraParams
for the field documentation. -
setIssuer
public InvoiceUpcomingLinesListParams.ScheduleDetails.Phase.InvoiceSettings.Builder setIssuer(InvoiceUpcomingLinesListParams.ScheduleDetails.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.
-