Class ApiVoucher

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

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

  • Constructor Details

    • ApiVoucher

      public ApiVoucher()
  • Method Details

    • language

      public ApiVoucher language(String language)
    • getLanguage

      @Nullable public String getLanguage()
      Language code that defines the language of the descriptions of the voucher. English will be used by default if this field is not informed.
      Returns:
      language
    • setLanguage

      public void setLanguage(String language)
    • email

      public ApiVoucher email(ApiVoucherEmail email)
    • getEmail

      @Nullable @Valid public @Valid ApiVoucherEmail getEmail()
      Get email
      Returns:
      email
    • setEmail

      public void setEmail(ApiVoucherEmail email)
    • logo

      public ApiVoucher logo(String logo)
    • getLogo

      @Nullable public String getLogo()
      Path of the picture you want to be featured in the header of the voucher as logo. Accepted formats: PNG, JPG, GIF & BMP. Max size: 100px x 100px. The filename part of the picture path cannot exceed 35 characters length.
      Returns:
      logo
    • setLogo

      public void setLogo(String logo)
    • 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