Class PricingPlanSubscriptionComponents

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.PricingPlanSubscriptionComponents
All Implemented Interfaces:
StripeObjectInterface

public class PricingPlanSubscriptionComponents extends StripeObject
A set of component subscriptions for a Pricing Plan Subscription.
  • Constructor Details

    • PricingPlanSubscriptionComponents

      public PricingPlanSubscriptionComponents()
  • Method Details

    • getComponents

      The component subscriptions of the Pricing Plan Subscription.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String 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

      public void setComponents(List<PricingPlanSubscriptionComponents.Component> components)
      The component subscriptions of the Pricing Plan Subscription.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object