Package com.stripe.model
Class Quote.AutomaticTax
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.AutomaticTax
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Quote
For more details about AutomaticTax, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Liability, 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 booleanbooleanAutomatically calculate taxes.The account that's liable for tax.The tax provider powering automatic tax.The status of the most recent automated tax calculation for this quote.inthashCode()voidsetEnabled(Boolean enabled) Automatically calculate taxes.voidsetLiability(Quote.AutomaticTax.Liability liability) The account that's liable for tax.voidsetProvider(String provider) The tax provider powering automatic tax.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe status of the most recent automated tax calculation for this quote.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
AutomaticTax
public AutomaticTax()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getEnabled
Automatically calculate taxes. -
getLiability
The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. -
getProvider
The tax provider powering automatic tax. -
getStatus
The status of the most recent automated tax calculation for this quote.One of
complete,failed, orrequires_location_inputs. -
setEnabled
Automatically calculate taxes. -
setLiability
The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. -
setProvider
The tax provider powering automatic tax. -
setStatus
The status of the most recent automated tax calculation for this quote.One of
complete,failed, orrequires_location_inputs. -
equals
-
canEqual
-
hashCode
public int hashCode()
-