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 classDetails if this component is a License Fee.static classDetails if this component is a Rate Card.static classDetails if this component is a Service Action. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTime at which the object was created.getId()Unique identifier for the object.Details if this component is a License Fee.Has the valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()voidsetCreated(Instant created) Time at which the object was created.voidUnique identifier for the object.voidsetLicenseFee(PricingPlanComponent.LicenseFee licenseFee) Details if this component is a License Fee.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetLookupKey(String lookupKey) An internal key you can use to search for a particular PricingPlanComponent.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetPricingPlan(String pricingPlan) The ID of the Pricing Plan this component belongs to.voidsetPricingPlanVersion(String pricingPlanVersion) The ID of the Pricing Plan Version this component belongs to.voidsetRateCard(PricingPlanComponent.RateCard rateCard) Details if this component is a Rate Card.voidsetServiceAction(PricingPlanComponent.ServiceAction serviceAction) Details if this component is a Service Action.voidThe 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 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 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 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 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.
-