Class SubscriptionSchedule.Phase.Item.Discount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.Item.Discount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SubscriptionSchedule.Phase.Item

public static class SubscriptionSchedule.Phase.Item.Discount extends StripeObject
  • Constructor Details

    • Discount

      public Discount()
  • Method Details

    • getCoupon

      public String getCoupon()
      Get ID of expandable coupon object.
    • setCoupon

      public void setCoupon(String id)
    • getCouponObject

      public Coupon getCouponObject()
      Get expanded coupon.
    • setCouponObject

      public void setCouponObject(Coupon expandableObject)
    • getDiscount

      public String getDiscount()
      Get ID of expandable discount object.
    • setDiscount

      public void setDiscount(String id)
    • getDiscountObject

      public Discount getDiscountObject()
      Get expanded discount.
    • setDiscountObject

      public void setDiscountObject(Discount expandableObject)
    • getPromotionCode

      public String getPromotionCode()
      Get ID of expandable promotionCode object.
    • setPromotionCode

      public void setPromotionCode(String id)
    • getPromotionCodeObject

      public PromotionCode getPromotionCodeObject()
    • setPromotionCodeObject

      public void setPromotionCodeObject(PromotionCode expandableObject)
    • 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