Package com.stripe.model.v2.billing
Class PricingPlan
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.PricingPlan
- 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
Whether the PricingPlan is active.Time at which the object was created.The currency of the PricingPlan.A description for pricing plan subscription.Display name of the PricingPlan.getId()
Unique identifier for the object.The ID of the latest version of the PricingPlan.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.The ID of the live version of the PricingPlan.An internal key you can use to search for a particular PricingPlan.Set of key-value pairs that you can attach to an object.String representing the object's type.The Stripe Tax tax behavior - whether the PricingPlan is inclusive or exclusive of tax.int
hashCode()
void
Whether the PricingPlan is active.void
setCreated
(Instant created) Time at which the object was created.void
setCurrency
(String currency) The currency of the PricingPlan.void
setDescription
(String description) A description for pricing plan subscription.void
setDisplayName
(String displayName) Display name of the PricingPlan.void
Unique identifier for the object.void
setLatestVersion
(String latestVersion) The ID of the latest version of the PricingPlan.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
setLiveVersion
(String liveVersion) The ID of the live version of the PricingPlan.void
setLookupKey
(String lookupKey) An internal key you can use to search for a particular PricingPlan.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
String representing the object's type.void
setTaxBehavior
(String taxBehavior) The Stripe Tax tax behavior - whether the PricingPlan is inclusive or exclusive of tax.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PricingPlan
public PricingPlan()
-
-
Method Details
-
getActive
Whether the PricingPlan is active. -
getCreated
Time at which the object was created. -
getCurrency
The currency of the PricingPlan. -
getDescription
A description for pricing plan subscription. Maximum length of 500 characters. -
getDisplayName
Display name of the PricingPlan. -
getLatestVersion
The ID of the latest version of the PricingPlan. -
getLiveVersion
The ID of the live version of the PricingPlan. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getLookupKey
An internal key you can use to search for a particular PricingPlan. Maximum length of 200 characters. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
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
. -
getTaxBehavior
The Stripe Tax tax behavior - whether the PricingPlan is inclusive or exclusive of tax.One of
exclusive
, orinclusive
. -
setActive
Whether the PricingPlan is active. -
setCreated
Time at which the object was created. -
setCurrency
The currency of the PricingPlan. -
setDescription
A description for pricing plan subscription. Maximum length of 500 characters. -
setDisplayName
Display name of the PricingPlan. -
setId
Unique identifier for the object. -
setLatestVersion
The ID of the latest version of the PricingPlan. -
setLiveVersion
The ID of the live version of the PricingPlan. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setLookupKey
An internal key you can use to search for a particular PricingPlan. Maximum length of 200 characters. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
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
. -
setTaxBehavior
The Stripe Tax tax behavior - whether the PricingPlan is inclusive or exclusive of tax.One of
exclusive
, orinclusive
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-