Class Subscription.BillingSchedule.AppliesTo

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.BillingSchedule.AppliesTo
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
Subscription.BillingSchedule

public static class Subscription.BillingSchedule.AppliesTo extends StripeObject implements StripeActiveObject
Represents the entities that the billing schedule applies to.
  • Constructor Details

    • AppliesTo

      public AppliesTo()
  • Method Details

    • getPrice

      public String getPrice()
      Get ID of expandable price object.
    • setPrice

      public void setPrice(String id)
    • getPriceObject

      public Price getPriceObject()
      Get expanded price.
    • setPriceObject

      public void setPriceObject(Price expandableObject)
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getType

      public String getType()
      Controls which subscription items the billing schedule applies to.

      Equal to price.

    • setType

      public void setType(String type)
      Controls which subscription items the billing schedule applies to.

      Equal to price.

    • 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