Class ApiPromotion

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiPromotion

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiPromotion extends Object
Promotion information.
  • Field Details

  • Constructor Details

    • ApiPromotion

      public ApiPromotion()
  • Method Details

    • code

      public ApiPromotion code(String code)
    • getCode

      @Nullable public String getCode()
      Code of the promotion.
      Returns:
      code
    • setCode

      public void setCode(String code)
    • name

      public ApiPromotion name(String name)
    • getName

      @Nullable public String getName()
      Short name/description of the promotion.
      Returns:
      name
    • setName

      public void setName(String name)
    • remark

      public ApiPromotion remark(String remark)
    • getRemark

      @Nullable public String getRemark()
      Additional information regarding the promotion.
      Returns:
      remark
    • setRemark

      public void setRemark(String remark)
    • 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