Class CancellationPolicyLightweightNonAuthenticatedEntity
java.lang.Object
travel.wink.sdk.inventory.model.CancellationPolicyLightweightNonAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:20:31.141212618+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class CancellationPolicyLightweightNonAuthenticatedEntity
extends Object
CancellationPolicyLightweightNonAuthenticatedEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhen the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.static enumCancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnumIf the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.static enumWhen the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.static enumThe non-refundable charge might can have a deadline.static enumIn case the 'Refundable cancellation charge' is set, a different no show charge can be applied.static enumIf advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvanceCancellationFreeOfCharge(CancellationPolicyLightweightNonAuthenticatedEntity.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) booleanWhen the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.@NotNull @Valid UUIDProperty this cancellation is associated with@NotNull @Valid UUIDUnique cancellation policy identifierCancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnumIf the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.The non-refundable charge might can have a deadline.In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.Get policyCode@NotNull BooleanWhether this cancellation policy is refundable or notIf advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.inthashCode()hotelIdentifier(UUID hotelIdentifier) identifier(UUID identifier) nonRefundableAfterDeadlineCancellationCharge(CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) nonRefundableCancellationCharge(CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) nonRefundableDeadline(CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableDeadlineEnum nonRefundableDeadline) policyCode(String policyCode) refundable(Boolean refundable) refundableCancellationCharge(CancellationPolicyLightweightNonAuthenticatedEntity.RefundableCancellationChargeEnum refundableCancellationCharge) voidsetAdvanceCancellationFreeOfCharge(CancellationPolicyLightweightNonAuthenticatedEntity.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetNonRefundableAfterDeadlineCancellationCharge(CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) voidsetNonRefundableCancellationCharge(CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) voidsetNonRefundableDeadline(CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableDeadlineEnum nonRefundableDeadline) voidvoidsetPolicyCode(String policyCode) voidsetRefundable(Boolean refundable) voidsetRefundableCancellationCharge(CancellationPolicyLightweightNonAuthenticatedEntity.RefundableCancellationChargeEnum refundableCancellationCharge) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_REFUNDABLE
- See Also:
-
JSON_PROPERTY_ADVANCE_CANCELLATION_FREE_OF_CHARGE
- See Also:
-
JSON_PROPERTY_REFUNDABLE_CANCELLATION_CHARGE
- See Also:
-
JSON_PROPERTY_NO_SHOW_CHARGE
- See Also:
-
JSON_PROPERTY_NON_REFUNDABLE_CANCELLATION_CHARGE
- See Also:
-
JSON_PROPERTY_NON_REFUNDABLE_DEADLINE
- See Also:
-
JSON_PROPERTY_NON_REFUNDABLE_AFTER_DEADLINE_CANCELLATION_CHARGE
- See Also:
-
JSON_PROPERTY_POLICY_CODE
- See Also:
-
-
Constructor Details
-
CancellationPolicyLightweightNonAuthenticatedEntity
public CancellationPolicyLightweightNonAuthenticatedEntity()
-
-
Method Details
-
identifier
-
getIdentifier
Unique cancellation policy identifier- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
public CancellationPolicyLightweightNonAuthenticatedEntity hotelIdentifier(@Nonnull UUID hotelIdentifier) -
getHotelIdentifier
Property this cancellation is associated with- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
refundable
-
getRefundable
Whether this cancellation policy is refundable or not- Returns:
- refundable
-
setRefundable
-
advanceCancellationFreeOfCharge
public CancellationPolicyLightweightNonAuthenticatedEntity advanceCancellationFreeOfCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
getAdvanceCancellationFreeOfCharge
@Nullable public CancellationPolicyLightweightNonAuthenticatedEntity.AdvanceCancellationFreeOfChargeEnum getAdvanceCancellationFreeOfCharge()When the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.- Returns:
- advanceCancellationFreeOfCharge
-
setAdvanceCancellationFreeOfCharge
public void setAdvanceCancellationFreeOfCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
refundableCancellationCharge
public CancellationPolicyLightweightNonAuthenticatedEntity refundableCancellationCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.RefundableCancellationChargeEnum refundableCancellationCharge) -
getRefundableCancellationCharge
@Nullable public CancellationPolicyLightweightNonAuthenticatedEntity.RefundableCancellationChargeEnum getRefundableCancellationCharge()If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.- Returns:
- refundableCancellationCharge
-
setRefundableCancellationCharge
public void setRefundableCancellationCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.RefundableCancellationChargeEnum refundableCancellationCharge) -
noShowCharge
public CancellationPolicyLightweightNonAuthenticatedEntity noShowCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NoShowChargeEnum noShowCharge) -
getNoShowCharge
@Nullable public CancellationPolicyLightweightNonAuthenticatedEntity.NoShowChargeEnum getNoShowCharge()In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.- Returns:
- noShowCharge
-
setNoShowCharge
public void setNoShowCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NoShowChargeEnum noShowCharge) -
nonRefundableCancellationCharge
public CancellationPolicyLightweightNonAuthenticatedEntity nonRefundableCancellationCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
getNonRefundableCancellationCharge
@Nullable public CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum getNonRefundableCancellationCharge()When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.- Returns:
- nonRefundableCancellationCharge
-
setNonRefundableCancellationCharge
public void setNonRefundableCancellationCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
nonRefundableDeadline
public CancellationPolicyLightweightNonAuthenticatedEntity nonRefundableDeadline(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableDeadlineEnum nonRefundableDeadline) -
getNonRefundableDeadline
@Nullable public CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableDeadlineEnum getNonRefundableDeadline()The non-refundable charge might can have a deadline. If that deadline passes, the guest might be charged more.- Returns:
- nonRefundableDeadline
-
setNonRefundableDeadline
public void setNonRefundableDeadline(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableDeadlineEnum nonRefundableDeadline) -
nonRefundableAfterDeadlineCancellationCharge
public CancellationPolicyLightweightNonAuthenticatedEntity nonRefundableAfterDeadlineCancellationCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
getNonRefundableAfterDeadlineCancellationCharge
@Nullable public CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnum getNonRefundableAfterDeadlineCancellationCharge()If the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.- Returns:
- nonRefundableAfterDeadlineCancellationCharge
-
setNonRefundableAfterDeadlineCancellationCharge
public void setNonRefundableAfterDeadlineCancellationCharge(@Nullable CancellationPolicyLightweightNonAuthenticatedEntity.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
policyCode
-
getPolicyCode
-
setPolicyCode
-
equals
-
hashCode
-
toString
-