Class ApiVoucherEmail

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiVoucherEmail extends Object
Information regarding the email delivery of the voucher.
  • Field Details

  • Constructor Details

    • ApiVoucherEmail

      public ApiVoucherEmail()
  • Method Details

    • to

      public ApiVoucherEmail to(String to)
    • getTo

      @Nullable public String getTo()
      Email address to which the voucher will be sent. Only one address is allowed.
      Returns:
      to
    • setTo

      public void setTo(String to)
    • from

      public ApiVoucherEmail from(String from)
    • getFrom

      @Nullable public String getFrom()
      Email address that will appear as sender of the email. If not used, the default value is noreply@hotelbeds.com
      Returns:
      from
    • setFrom

      public void setFrom(String from)
    • title

      public ApiVoucherEmail title(String title)
    • getTitle

      @Nullable public String getTitle()
      Email subject. If not used, the default subject will have the following structure: Voucher - {{bookingReference}} - {{hotelName}}.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • body

      public ApiVoucherEmail body(String body)
    • getBody

      @Nullable public String getBody()
      Body of the voucher email.
      Returns:
      body
    • setBody

      public void setBody(String body)
    • 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