Package com.stripe.param.v2.core
Class AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder
java.lang.Object
com.stripe.param.v2.core.AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder
- Enclosing class:
- AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax
public static class AccountUpdateParams.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
(EmptyParam ipAddress) A recent IP address of the customer used for tax reporting and tax location inference.setIpAddress
(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference.setLocationSource
(AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.LocationSource locationSource) The data source used to identify the customer's tax location - defaults to 'identity_address'.setValidateLocation
(AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.ValidateLocation validateLocation) A per-request flag that indicates when Stripe should validate the customer tax location - defaults to 'auto'.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setExempt
public AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder setExempt(AccountUpdateParams.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 AccountUpdateParams.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. SeeAccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.extraParams
for the field documentation. -
setIpAddress
public AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder setIpAddress(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference. -
setIpAddress
public AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder setIpAddress(EmptyParam ipAddress) A recent IP address of the customer used for tax reporting and tax location inference. -
setLocationSource
public AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder setLocationSource(AccountUpdateParams.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. -
setValidateLocation
public AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.Builder setValidateLocation(AccountUpdateParams.Configuration.Customer.AutomaticIndirectTax.ValidateLocation validateLocation) A per-request flag that indicates when Stripe should validate the customer tax location - defaults to 'auto'.
-