Class StackableDiscount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.StackableDiscount
All Implemented Interfaces:
StripeObjectInterface

public class 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()
      Get expanded discount.
    • 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