Package com.stripe.model.v2.billing
Class RateCardVersion
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.RateCardVersion
- 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
Timestamp of when the object was created.getId()
Unique identifier for the 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 ID of the Rate Card that this version belongs to.int
hashCode()
void
setCreated
(Instant created) Timestamp of when the object was created.void
Unique identifier for the 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
setRateCardId
(String rateCardId) The ID of the Rate Card that this version belongs to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RateCardVersion
public RateCardVersion()
-
-
Method Details
-
getCreated
Timestamp of when the 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.billing.rate_card_version
. -
getRateCardId
The ID of the Rate Card that this version belongs to. -
setCreated
Timestamp of when the object was created. -
setId
Unique identifier for the 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.billing.rate_card_version
. -
setRateCardId
The ID of the Rate Card that this version belongs to. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-