Package com.stripe.model.v2.billing
Class PricingPlanComponent
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.PricingPlanComponent
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about LicenseFee, please refer to the API Reference.static class
For more details about RateCard, please refer to the API Reference.static class
For more details about ServiceAction, please refer to the API Reference. -
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.getId()
Unique identifier for the object.Details if this component is a License Fee.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.An internal key you can use to search for a particular PricingPlanComponent.Set of key-value pairs that you can attach to an object.String representing the object's type.The ID of the Pricing Plan this component belongs to.The ID of the Pricing Plan Version this component belongs to.Details if this component is a Rate Card.Details if this component is a Service Action.getType()
The type of the PricingPlanComponent.int
hashCode()
void
setCreated
(Instant created) Time at which the object was created.void
Unique identifier for the object.void
setLicenseFee
(PricingPlanComponent.LicenseFee licenseFee) Details if this component is a License Fee.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
setLookupKey
(String lookupKey) An internal key you can use to search for a particular PricingPlanComponent.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
setPricingPlan
(String pricingPlan) The ID of the Pricing Plan this component belongs to.void
setPricingPlanVersion
(String pricingPlanVersion) The ID of the Pricing Plan Version this component belongs to.void
setRateCard
(PricingPlanComponent.RateCard rateCard) Details if this component is a Rate Card.void
setServiceAction
(PricingPlanComponent.ServiceAction serviceAction) Details if this component is a Service Action.void
The type of the PricingPlanComponent.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PricingPlanComponent
public PricingPlanComponent()
-
-
Method Details
-
getCreated
Time at which the object was created. -
getLicenseFee
Details if this component is a License Fee. -
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 PricingPlanComponent. -
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_component
. -
getPricingPlan
The ID of the Pricing Plan this component belongs to. -
getPricingPlanVersion
The ID of the Pricing Plan Version this component belongs to. -
getRateCard
Details if this component is a Rate Card. -
getServiceAction
Details if this component is a Service Action. -
getType
The type of the PricingPlanComponent.One of
license_fee
,rate_card
, orservice_action
. -
setCreated
Time at which the object was created. -
setId
Unique identifier for the object. -
setLicenseFee
Details if this component is a License Fee. -
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 PricingPlanComponent. -
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_component
. -
setPricingPlan
The ID of the Pricing Plan this component belongs to. -
setPricingPlanVersion
The ID of the Pricing Plan Version this component belongs to. -
setRateCard
Details if this component is a Rate Card. -
setServiceAction
Details if this component is a Service Action. -
setType
The type of the PricingPlanComponent.One of
license_fee
,rate_card
, orservice_action
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-