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 booleanbooleanWhether 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 valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()voidWhether the PricingPlan is active.voidsetCreated(Instant created) Time at which the object was created.voidsetCurrency(String currency) The currency of the PricingPlan.voidsetDescription(String description) A description for pricing plan subscription.voidsetDisplayName(String displayName) Display name of the PricingPlan.voidUnique identifier for the object.voidsetLatestVersion(String latestVersion) The ID of the latest version of the PricingPlan.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetLiveVersion(String liveVersion) The ID of the live version of the PricingPlan.voidsetLookupKey(String lookupKey) An internal key you can use to search for a particular PricingPlan.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetTaxBehavior(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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-