Class ApiPromotion
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiPromotion
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiPromotion
extends Object
Information of a promotion that can be applied to hotels rates.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(ApiContent description) booleangetCode()Internal Promotion code.@Valid ApiContentGet description@Valid ApiContentgetName()Get nameinthashCode()name(ApiContent name) voidvoidsetDescription(ApiContent description) voidsetName(ApiContent name) toString()
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
ApiPromotion
public ApiPromotion()
-
-
Method Details
-
code
-
getCode
Internal Promotion code.- Returns:
- code
-
setCode
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
name
-
getName
Get name- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-