Package com.stripe.param
Class AccountUpdateParams.Settings.Invoices.Builder
java.lang.Object
com.stripe.param.AccountUpdateParams.Settings.Invoices.Builder
- Enclosing class:
- AccountUpdateParams.Settings.Invoices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDefaultAccountTaxId
(List<String> elements) Add all elements to `defaultAccountTaxIds` list.addDefaultAccountTaxId
(String element) Add an element to `defaultAccountTaxIds` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setDefaultAccountTaxIds
(EmptyParam defaultAccountTaxIds) The list of default Account Tax IDs to automatically include on invoices.setDefaultAccountTaxIds
(List<String> defaultAccountTaxIds) The list of default Account Tax IDs to automatically include on invoices.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addDefaultAccountTaxId
Add an element to `defaultAccountTaxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.Settings.Invoices.defaultAccountTaxIds
for the field documentation. -
addAllDefaultAccountTaxId
public AccountUpdateParams.Settings.Invoices.Builder addAllDefaultAccountTaxId(List<String> elements) Add all elements to `defaultAccountTaxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountUpdateParams.Settings.Invoices.defaultAccountTaxIds
for the field documentation. -
setDefaultAccountTaxIds
public AccountUpdateParams.Settings.Invoices.Builder setDefaultAccountTaxIds(EmptyParam defaultAccountTaxIds) The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. -
setDefaultAccountTaxIds
public AccountUpdateParams.Settings.Invoices.Builder setDefaultAccountTaxIds(List<String> defaultAccountTaxIds) The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized. -
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. SeeAccountUpdateParams.Settings.Invoices.extraParams
for the field documentation. -
putAllExtraParam
-