Package travel.wink.sdk.extranet.model
Class UpsertRecognitionSupplier
java.lang.Object
travel.wink.sdk.extranet.model.UpsertRecognitionSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-05T21:41:24.797077847+07:00[Asia/Bangkok]")
public class UpsertRecognitionSupplier
extends Object
UpsertRecognitionSupplier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRecognition category.static enumType of rating system the recognition operated on. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRecognition category.@Valid LocalDategetDate()The date the award was receivedUse this to let hotels indicate what the total score for this award is.When true, this indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.@NotNull StringThe name of the entity that administers this recognition.@NotNull @DecimalMin("0.0") FloatThe actual award or rating received by the hotel facility.Provides the symbol used in the rating.@NotNull UpsertRecognitionSupplier.TypeEnumgetType()Type of rating system the recognition operated on.inthashCode()officialAppointmentInd(Boolean officialAppointmentInd) ratingSymbol(String ratingSymbol) voidvoidvoidsetMaxRating(Float maxRating) voidsetOfficialAppointmentInd(Boolean officialAppointmentInd) voidsetProvider(String provider) voidvoidsetRatingSymbol(String ratingSymbol) voidtoString()
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_PROVIDER
- See Also:
-
JSON_PROPERTY_RATING
- See Also:
-
JSON_PROPERTY_MAX_RATING
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_OFFICIAL_APPOINTMENT_IND
- See Also:
-
JSON_PROPERTY_RATING_SYMBOL
- See Also:
-
-
Constructor Details
-
UpsertRecognitionSupplier
public UpsertRecognitionSupplier()
-
-
Method Details
-
type
-
getType
Type of rating system the recognition operated on. This allows us to display the score properly.- Returns:
- type
-
setType
-
category
-
getCategory
Recognition category.- Returns:
- category
-
setCategory
-
provider
-
getProvider
The name of the entity that administers this recognition.- Returns:
- provider
-
setProvider
-
rating
-
getRating
The actual award or rating received by the hotel facility. minimum: 0.0- Returns:
- rating
-
setRating
-
maxRating
-
getMaxRating
Use this to let hotels indicate what the total score for this award is.- Returns:
- maxRating
-
setMaxRating
-
date
-
getDate
-
setDate
-
officialAppointmentInd
-
getOfficialAppointmentInd
When true, this indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.- Returns:
- officialAppointmentInd
-
setOfficialAppointmentInd
-
ratingSymbol
-
getRatingSymbol
Provides the symbol used in the rating. Used in conjunction with the Rating.- Returns:
- ratingSymbol
-
setRatingSymbol
-
equals
-
hashCode
-
toString
-