Class Subscription.BillingSchedule.AppliesTo

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

public static class Subscription.BillingSchedule.AppliesTo extends StripeObject
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)
    • 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