Class QuoteLine.Action.RemoveDiscount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.Action.RemoveDiscount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
QuoteLine.Action

public static class QuoteLine.Action.RemoveDiscount extends StripeObject
List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
  • Constructor Details

    • RemoveDiscount

      public RemoveDiscount()
  • 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)
    • getDiscountEnd

      Details to determine how long the discount should be applied for.
    • setDiscountEnd

      public void setDiscountEnd(QuoteLine.Action.RemoveDiscount.DiscountEnd discountEnd)
      Details to determine how long the discount should be applied for.
    • 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