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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemail(ApiVoucherEmail email) boolean@Valid ApiVoucherEmailgetEmail()Get emailLanguage code that defines the language of the descriptions of the voucher.getLogo()Path of the picture you want to be featured in the header of the voucher as logo.inthashCode()voidsetEmail(ApiVoucherEmail email) voidsetLanguage(String language) voidtoString()
-
Field Details
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_LOGO
- See Also:
-
-
Constructor Details
-
ApiVoucher
public ApiVoucher()
-
-
Method Details
-
language
-
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
-
email
-
getEmail
Get email- Returns:
-
setEmail
-
logo
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-