Package travel.wink.sdk.affiliate.model
Class CancellationPolicyAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.CancellationPolicyAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-10T10:47:30.893146041+07:00[Asia/Bangkok]")
public class CancellationPolicyAffiliate
extends Object
Based on the itinerary, the cancellation policy could be taken directly from the rate plan or it could be a policy exception also listed on the rate plan
-
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 enumIf 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(CancellationPolicyAffiliate.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 identifierIf 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(CancellationPolicyAffiliate.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) nonRefundableCancellationCharge(CancellationPolicyAffiliate.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) nonRefundableDeadline(CancellationPolicyAffiliate.NonRefundableDeadlineEnum nonRefundableDeadline) noShowCharge(CancellationPolicyAffiliate.NoShowChargeEnum noShowCharge) policyCode(String policyCode) refundable(Boolean refundable) refundableCancellationCharge(CancellationPolicyAffiliate.RefundableCancellationChargeEnum refundableCancellationCharge) voidsetAdvanceCancellationFreeOfCharge(CancellationPolicyAffiliate.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetIdentifier(UUID identifier) voidsetNonRefundableAfterDeadlineCancellationCharge(CancellationPolicyAffiliate.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) voidsetNonRefundableCancellationCharge(CancellationPolicyAffiliate.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) voidsetNonRefundableDeadline(CancellationPolicyAffiliate.NonRefundableDeadlineEnum nonRefundableDeadline) voidsetNoShowCharge(CancellationPolicyAffiliate.NoShowChargeEnum noShowCharge) voidsetPolicyCode(String policyCode) voidsetRefundable(Boolean refundable) voidsetRefundableCancellationCharge(CancellationPolicyAffiliate.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
-
CancellationPolicyAffiliate
public CancellationPolicyAffiliate()
-
-
Method Details
-
identifier
-
getIdentifier
Unique cancellation policy identifier- Returns:
- identifier
-
setIdentifier
-
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 CancellationPolicyAffiliate advanceCancellationFreeOfCharge(CancellationPolicyAffiliate.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
getAdvanceCancellationFreeOfCharge
@Nullable public CancellationPolicyAffiliate.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(CancellationPolicyAffiliate.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
refundableCancellationCharge
public CancellationPolicyAffiliate refundableCancellationCharge(CancellationPolicyAffiliate.RefundableCancellationChargeEnum refundableCancellationCharge) -
getRefundableCancellationCharge
@Nullable public CancellationPolicyAffiliate.RefundableCancellationChargeEnum getRefundableCancellationCharge()If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.- Returns:
- refundableCancellationCharge
-
setRefundableCancellationCharge
public void setRefundableCancellationCharge(CancellationPolicyAffiliate.RefundableCancellationChargeEnum refundableCancellationCharge) -
noShowCharge
public CancellationPolicyAffiliate noShowCharge(CancellationPolicyAffiliate.NoShowChargeEnum noShowCharge) -
getNoShowCharge
In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.- Returns:
- noShowCharge
-
setNoShowCharge
-
nonRefundableCancellationCharge
public CancellationPolicyAffiliate nonRefundableCancellationCharge(CancellationPolicyAffiliate.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
getNonRefundableCancellationCharge
@Nullable public CancellationPolicyAffiliate.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(CancellationPolicyAffiliate.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
nonRefundableDeadline
public CancellationPolicyAffiliate nonRefundableDeadline(CancellationPolicyAffiliate.NonRefundableDeadlineEnum nonRefundableDeadline) -
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(CancellationPolicyAffiliate.NonRefundableDeadlineEnum nonRefundableDeadline) -
nonRefundableAfterDeadlineCancellationCharge
public CancellationPolicyAffiliate nonRefundableAfterDeadlineCancellationCharge(CancellationPolicyAffiliate.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
getNonRefundableAfterDeadlineCancellationCharge
@Nullable public CancellationPolicyAffiliate.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(CancellationPolicyAffiliate.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
policyCode
-
getPolicyCode
Get policyCode- Returns:
- policyCode
-
setPolicyCode
-
equals
-
hashCode
public int hashCode() -
toString
-