Package travel.wink.sdk.extranet.model
Class RatePlanView
java.lang.Object
travel.wink.sdk.extranet.model.RatePlanView
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:37:26.819025+07:00[Asia/Bangkok]")
public class RatePlanView
extends Object
RatePlanView
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRatePlanView(String id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid OffsetDateTimeDatetime this record was first createdgetId()Unique document identifier@Valid OffsetDateTimeDatetime this record was last updated@NotNull @Valid RatePlanGet ratePlanVersion property that shows how many times this document has been persisted.inthashCode()voidsetRatePlan(RatePlan ratePlan) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_RATE_PLAN
- See Also:
-
-
Constructor Details
-
RatePlanView
public RatePlanView() -
RatePlanView
-
-
Method Details
-
getId
Unique document identifier- Returns:
- id
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
ratePlan
-
getRatePlan
Get ratePlan- Returns:
- ratePlan
-
setRatePlan
-
equals
-
hashCode
public int hashCode() -
toString
-