Package com.stripe.model
Class Customer.Tax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Customer.Tax
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Customer
For more details about Tax, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Location, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanSurfaces if automatic tax computation is possible given the current customer location information.A recent IP address of the customer used for tax reporting and tax location inference.The identified tax location of the customer.The tax calculation provider used for location resolution.inthashCode()voidsetAutomaticTax(String automaticTax) Surfaces if automatic tax computation is possible given the current customer location information.voidsetIpAddress(String ipAddress) A recent IP address of the customer used for tax reporting and tax location inference.voidsetLocation(Customer.Tax.Location location) The identified tax location of the customer.voidsetProvider(String provider) The tax calculation provider used for location resolution.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Tax
public Tax()
-
-
Method Details
-
getAutomaticTax
Surfaces if automatic tax computation is possible given the current customer location information.One of
failed,not_collecting,supported, orunrecognized_location. -
getIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. -
getLocation
The identified tax location of the customer. -
getProvider
The tax calculation provider used for location resolution. Defaults tostripewhen not using a third-party provider.One of
anrok,avalara,sphere, orstripe. -
setAutomaticTax
Surfaces if automatic tax computation is possible given the current customer location information.One of
failed,not_collecting,supported, orunrecognized_location. -
setIpAddress
A recent IP address of the customer used for tax reporting and tax location inference. -
setLocation
The identified tax location of the customer. -
setProvider
The tax calculation provider used for location resolution. Defaults tostripewhen not using a third-party provider.One of
anrok,avalara,sphere, orstripe. -
equals
-
canEqual
-
hashCode
public int hashCode()
-