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