Package travel.wink.sdk.extranet.model
Class UpsertCancellationPolicyRequest
java.lang.Object
travel.wink.sdk.extranet.model.UpsertCancellationPolicyRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-20T21:56:24.013599+07:00[Asia/Bangkok]")
public class UpsertCancellationPolicyRequest
extends Object
UpsertCancellationPolicyRequest
-
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(UpsertCancellationPolicyRequest.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.If 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.@NotNull BooleanWhether this cancellation policy is refundable or notIf advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.inthashCode()nonRefundableAfterDeadlineCancellationCharge(UpsertCancellationPolicyRequest.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) nonRefundableCancellationCharge(UpsertCancellationPolicyRequest.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) nonRefundableDeadline(UpsertCancellationPolicyRequest.NonRefundableDeadlineEnum nonRefundableDeadline) noShowCharge(UpsertCancellationPolicyRequest.NoShowChargeEnum noShowCharge) refundable(Boolean refundable) refundableCancellationCharge(UpsertCancellationPolicyRequest.RefundableCancellationChargeEnum refundableCancellationCharge) voidsetAdvanceCancellationFreeOfCharge(UpsertCancellationPolicyRequest.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) voidsetNonRefundableAfterDeadlineCancellationCharge(UpsertCancellationPolicyRequest.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) voidsetNonRefundableCancellationCharge(UpsertCancellationPolicyRequest.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) voidsetNonRefundableDeadline(UpsertCancellationPolicyRequest.NonRefundableDeadlineEnum nonRefundableDeadline) voidvoidsetRefundable(Boolean refundable) voidsetRefundableCancellationCharge(UpsertCancellationPolicyRequest.RefundableCancellationChargeEnum refundableCancellationCharge) toString()
-
Field Details
-
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:
-
-
Constructor Details
-
UpsertCancellationPolicyRequest
public UpsertCancellationPolicyRequest()
-
-
Method Details
-
refundable
-
getRefundable
Whether this cancellation policy is refundable or not- Returns:
- refundable
-
setRefundable
-
advanceCancellationFreeOfCharge
public UpsertCancellationPolicyRequest advanceCancellationFreeOfCharge(UpsertCancellationPolicyRequest.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
getAdvanceCancellationFreeOfCharge
@Nullable public UpsertCancellationPolicyRequest.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(UpsertCancellationPolicyRequest.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
refundableCancellationCharge
public UpsertCancellationPolicyRequest refundableCancellationCharge(UpsertCancellationPolicyRequest.RefundableCancellationChargeEnum refundableCancellationCharge) -
getRefundableCancellationCharge
@Nullable public UpsertCancellationPolicyRequest.RefundableCancellationChargeEnum getRefundableCancellationCharge()If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.- Returns:
- refundableCancellationCharge
-
setRefundableCancellationCharge
public void setRefundableCancellationCharge(UpsertCancellationPolicyRequest.RefundableCancellationChargeEnum refundableCancellationCharge) -
noShowCharge
public UpsertCancellationPolicyRequest noShowCharge(UpsertCancellationPolicyRequest.NoShowChargeEnum noShowCharge) -
getNoShowCharge
In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.- Returns:
- noShowCharge
-
setNoShowCharge
-
nonRefundableCancellationCharge
public UpsertCancellationPolicyRequest nonRefundableCancellationCharge(UpsertCancellationPolicyRequest.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
getNonRefundableCancellationCharge
@Nullable public UpsertCancellationPolicyRequest.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(UpsertCancellationPolicyRequest.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
nonRefundableDeadline
public UpsertCancellationPolicyRequest nonRefundableDeadline(UpsertCancellationPolicyRequest.NonRefundableDeadlineEnum nonRefundableDeadline) -
getNonRefundableDeadline
@Nullable public UpsertCancellationPolicyRequest.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(UpsertCancellationPolicyRequest.NonRefundableDeadlineEnum nonRefundableDeadline) -
nonRefundableAfterDeadlineCancellationCharge
public UpsertCancellationPolicyRequest nonRefundableAfterDeadlineCancellationCharge(UpsertCancellationPolicyRequest.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
getNonRefundableAfterDeadlineCancellationCharge
@Nullable public UpsertCancellationPolicyRequest.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(UpsertCancellationPolicyRequest.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
equals
-
hashCode
public int hashCode() -
toString
-