Package com.stripe.param
Class SubscriptionCreateParams.InvoiceSettings.Builder
java.lang.Object
com.stripe.param.SubscriptionCreateParams.InvoiceSettings.Builder
- Enclosing class:
- SubscriptionCreateParams.InvoiceSettings
-
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 the subscription.setAccountTaxIds
(List<String> accountTaxIds) The account tax IDs associated with the subscription.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. SeeSubscriptionCreateParams.InvoiceSettings.accountTaxIds
for 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. SeeSubscriptionCreateParams.InvoiceSettings.accountTaxIds
for the field documentation. -
setAccountTaxIds
The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription. -
setAccountTaxIds
public SubscriptionCreateParams.InvoiceSettings.Builder setAccountTaxIds(List<String> accountTaxIds) The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription. -
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. SeeSubscriptionCreateParams.InvoiceSettings.extraParams
for 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. SeeSubscriptionCreateParams.InvoiceSettings.extraParams
for the field documentation. -
setIssuer
public SubscriptionCreateParams.InvoiceSettings.Builder setIssuer(SubscriptionCreateParams.InvoiceSettings.Issuer issuer) The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
-