Package com.stripe.param.v2.core
Class AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Builder
java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Builder
- Enclosing class:
- AccountCreateParams.Configuration.Customer.AutomaticIndirectTax
public static class AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
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.Describes the customer's tax exemption status, which isnone
,exempt
, orreverse
.setIpAddress
(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference.setLocationSource
(AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.LocationSource locationSource) The data source used to identify the customer's tax location - defaults to 'identity_address'.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setExempt
public AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Builder setExempt(AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Exempt exempt) Describes the customer's tax exemption status, which isnone
,exempt
, orreverse
. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”. -
putExtraParam
public AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.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. SeeAccountCreateParams.Configuration.Customer.AutomaticIndirectTax.extraParams
for the field documentation. -
putAllExtraParam
public AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.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. SeeAccountCreateParams.Configuration.Customer.AutomaticIndirectTax.extraParams
for the field documentation. -
setIpAddress
public AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Builder setIpAddress(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference. -
setLocationSource
public AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.Builder setLocationSource(AccountCreateParams.Configuration.Customer.AutomaticIndirectTax.LocationSource locationSource) The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
-