Class SubscriptionSchedule.AddInvoiceItem.StackableDiscount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.AddInvoiceItem.StackableDiscount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SubscriptionSchedule.AddInvoiceItem

public static class SubscriptionSchedule.AddInvoiceItem.StackableDiscount extends StripeObject
  • Constructor Details

    • StackableDiscount

      public StackableDiscount()
  • 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()
    • setDiscountObject

      public void setDiscountObject(Discount 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