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 booleanbooleanTimestamp of when the object was created.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.The ID of the Rate Card that this version belongs to.inthashCode()voidsetCreated(Instant created) Timestamp of when the object was created.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetRateCardId(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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-