Package com.stripe.model.v2.billing
Class PricingPlanVersion
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.PricingPlanVersion
- 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
Time at which the object was created.The timestamp when this version became inactive.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 PricingPlan this version belongs to.The timestamp when this version became active.int
hashCode()
void
setCreated
(Instant created) Time at which the object was created.void
setEndDate
(Instant endDate) The timestamp when this version became inactive.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
setPricingPlan
(String pricingPlan) The ID of the PricingPlan this version belongs to.void
setStartDate
(Instant startDate) The timestamp when this version became active.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PricingPlanVersion
public PricingPlanVersion()
-
-
Method Details
-
getCreated
Time at which the object was created. -
getEndDate
The timestamp when this version became inactive. Null if it's the latest version. -
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.pricing_plan_version
. -
getPricingPlan
The ID of the PricingPlan this version belongs to. -
getStartDate
The timestamp when this version became active. -
setCreated
Time at which the object was created. -
setEndDate
The timestamp when this version became inactive. Null if it's the latest version. -
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.pricing_plan_version
. -
setPricingPlan
The ID of the PricingPlan this version belongs to. -
setStartDate
The timestamp when this version became active. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-