Package com.stripe.model.v2.billing
Class PricingPlanSubscriptionComponents
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.PricingPlanSubscriptionComponents
- All Implemented Interfaces:
StripeObjectInterface
A set of component subscriptions for a Pricing Plan Subscription.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Component, 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 booleanbooleanThe component subscriptions of the Pricing Plan Subscription.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.inthashCode()voidsetComponents(List<PricingPlanSubscriptionComponents.Component> components) The component subscriptions of the Pricing Plan Subscription.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PricingPlanSubscriptionComponents
public PricingPlanSubscriptionComponents()
-
-
Method Details
-
getComponents
The component subscriptions of the Pricing Plan Subscription. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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_subscription_components. -
setComponents
The component subscriptions of the Pricing Plan Subscription. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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_subscription_components. -
equals
-
canEqual
-
hashCode
public int hashCode()
-