- Enclosing class:
public static class CustomerCreateParams.Tax extends Object
State, county, province, or region.
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()Map of extra parameters for custom features not available in this client library.A recent IP address of the customer used for tax reporting and tax location inference.
builderpublic static CustomerCreateParams.Tax.Builder builder()
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
getIpAddresspublic Object getIpAddress()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.