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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_BODY
- See Also:
-
-
Constructor Details
-
ApiVoucherEmail
public ApiVoucherEmail()
-
-
Method Details
-
to
-
getTo
Email address to which the voucher will be sent. Only one address is allowed.- Returns:
- to
-
setTo
-
from
-
getFrom
Email address that will appear as sender of the email. If not used, the default value is noreply@hotelbeds.com- Returns:
- from
-
setFrom
-
title
-
getTitle
Email subject. If not used, the default subject will have the following structure: Voucher - {{bookingReference}} - {{hotelName}}.- Returns:
- title
-
setTitle
-
body
-
getBody
Body of the voucher email.- Returns:
- body
-
setBody
-
equals
-
hashCode
public int hashCode() -
toString
-