Package com.stripe.param
Class CustomerCreateParams.Tax.Builder
java.lang.Object
com.stripe.param.CustomerCreateParams.Tax.Builder
- Enclosing class:
- CustomerCreateParams.Tax
-
Constructor Summary
-
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.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.setValidateLocation
(CustomerCreateParams.Tax.ValidateLocation validateLocation) A flag that indicates when Stripe should validate the customer tax location.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeCustomerCreateParams.Tax.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. SeeCustomerCreateParams.Tax.extraParams
for the field documentation. -
setIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. -
setIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. -
setValidateLocation
public CustomerCreateParams.Tax.Builder setValidateLocation(CustomerCreateParams.Tax.ValidateLocation validateLocation) A flag that indicates when Stripe should validate the customer tax location. Defaults todeferred
.
-