Class Discount

java.lang.Object
travel.wink.sdk.extranet.model.Discount

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-16T12:47:36.256942+07:00[Asia/Bangkok]") public class Discount extends Object
Discount
  • Field Details

  • Constructor Details

    • Discount

      public Discount()
  • Method Details

    • coupon

      public Discount coupon(Coupon coupon)
    • getCoupon

      @Nullable @Valid public @Valid Coupon getCoupon()
      Get coupon
      Returns:
      coupon
    • setCoupon

      public void setCoupon(Coupon coupon)
    • deleted

      public Discount deleted(Boolean deleted)
    • getDeleted

      @Nullable public Boolean getDeleted()
      Get deleted
      Returns:
      deleted
    • setDeleted

      public void setDeleted(Boolean deleted)
    • end

      public Discount end(Long end)
    • getEnd

      @Nullable public Long getEnd()
      Get end
      Returns:
      end
    • setEnd

      public void setEnd(Long end)
    • _object

      public Discount _object(String _object)
    • getObject

      @Nullable public String getObject()
      Get _object
      Returns:
      _object
    • setObject

      public void setObject(String _object)
    • start

      public Discount start(Long start)
    • getStart

      @Nullable public Long getStart()
      Get start
      Returns:
      start
    • setStart

      public void setStart(Long start)
    • subscription

      public Discount subscription(String subscription)
    • getSubscription

      @Nullable public String getSubscription()
      Get subscription
      Returns:
      subscription
    • setSubscription

      public void setSubscription(String subscription)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object