Class Coupon.AppliesTo

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

public static class Coupon.AppliesTo extends StripeObject
  • Constructor Details

    • AppliesTo

      public AppliesTo()
  • Method Details

    • getProducts

      public List<String> getProducts()
      A list of product IDs this coupon applies to.
    • setProducts

      public void setProducts(List<String> products)
      A list of product IDs this coupon applies to.
    • 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