Package com.stripe.model.v2.tax
Class AutomaticRule
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.tax.AutomaticRule
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the BillableItem.The time at which the AutomaticRule object was created.getId()
The ID of the AutomaticRule object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.The status of the AutomaticRule object.A TaxCode object that will be used for automatic tax calculations.int
hashCode()
void
setBillableItem
(String billableItem) The ID of the BillableItem.void
setCreated
(Instant created) The time at which the AutomaticRule object was created.void
The ID of the AutomaticRule object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
The status of the AutomaticRule object.void
setTaxCode
(String taxCode) A TaxCode object that will be used for automatic tax calculations.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AutomaticRule
public AutomaticRule()
-
-
Method Details
-
getBillableItem
The ID of the BillableItem. -
getCreated
The time at which the AutomaticRule object was created. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.tax.automatic_rule
. -
getStatus
The status of the AutomaticRule object.One of
active
, orinactive
. -
getTaxCode
A TaxCode object that will be used for automatic tax calculations. -
setBillableItem
The ID of the BillableItem. -
setCreated
The time at which the AutomaticRule object was created. -
setId
The ID of the AutomaticRule object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.tax.automatic_rule
. -
setStatus
The status of the AutomaticRule object.One of
active
, orinactive
. -
setTaxCode
A TaxCode object that will be used for automatic tax calculations. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the AutomaticRule object.
-