Package travel.wink.sdk.booking.model
Class SupplierContractItemPolicyAgent
java.lang.Object
travel.wink.sdk.booking.model.SupplierContractItemPolicyAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-24T11:13:07.607433685+07:00[Asia/Bangkok]")
public class SupplierContractItemPolicyAgent
extends Object
SupplierContractItemPolicyAgent
-
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(SupplierContractItemPolicyAgent.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) booleanexternalIdentifier(String externalIdentifier) 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.Optional geoname externalIdentifier to remote policy.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 booking is refundable or not.If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.inthashCode()nonRefundableAfterDeadlineCancellationCharge(SupplierContractItemPolicyAgent.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) nonRefundableCancellationCharge(SupplierContractItemPolicyAgent.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) nonRefundableDeadline(SupplierContractItemPolicyAgent.NonRefundableDeadlineEnum nonRefundableDeadline) noShowCharge(SupplierContractItemPolicyAgent.NoShowChargeEnum noShowCharge) refundable(Boolean refundable) refundableCancellationCharge(SupplierContractItemPolicyAgent.RefundableCancellationChargeEnum refundableCancellationCharge) voidsetAdvanceCancellationFreeOfCharge(SupplierContractItemPolicyAgent.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) voidsetExternalIdentifier(String externalIdentifier) voidsetNonRefundableAfterDeadlineCancellationCharge(SupplierContractItemPolicyAgent.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) voidsetNonRefundableCancellationCharge(SupplierContractItemPolicyAgent.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) voidsetNonRefundableDeadline(SupplierContractItemPolicyAgent.NonRefundableDeadlineEnum nonRefundableDeadline) voidvoidsetRefundable(Boolean refundable) voidsetRefundableCancellationCharge(SupplierContractItemPolicyAgent.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:
-
JSON_PROPERTY_EXTERNAL_IDENTIFIER
- See Also:
-
-
Constructor Details
-
SupplierContractItemPolicyAgent
public SupplierContractItemPolicyAgent()
-
-
Method Details
-
refundable
-
getRefundable
Whether this booking is refundable or not.- Returns:
- refundable
-
setRefundable
-
advanceCancellationFreeOfCharge
public SupplierContractItemPolicyAgent advanceCancellationFreeOfCharge(SupplierContractItemPolicyAgent.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
getAdvanceCancellationFreeOfCharge
@Nullable public SupplierContractItemPolicyAgent.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(SupplierContractItemPolicyAgent.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
refundableCancellationCharge
public SupplierContractItemPolicyAgent refundableCancellationCharge(SupplierContractItemPolicyAgent.RefundableCancellationChargeEnum refundableCancellationCharge) -
getRefundableCancellationCharge
@Nullable public SupplierContractItemPolicyAgent.RefundableCancellationChargeEnum getRefundableCancellationCharge()If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.- Returns:
- refundableCancellationCharge
-
setRefundableCancellationCharge
public void setRefundableCancellationCharge(SupplierContractItemPolicyAgent.RefundableCancellationChargeEnum refundableCancellationCharge) -
noShowCharge
public SupplierContractItemPolicyAgent noShowCharge(SupplierContractItemPolicyAgent.NoShowChargeEnum noShowCharge) -
getNoShowCharge
In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.- Returns:
- noShowCharge
-
setNoShowCharge
-
nonRefundableCancellationCharge
public SupplierContractItemPolicyAgent nonRefundableCancellationCharge(SupplierContractItemPolicyAgent.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
getNonRefundableCancellationCharge
@Nullable public SupplierContractItemPolicyAgent.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(SupplierContractItemPolicyAgent.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
nonRefundableDeadline
public SupplierContractItemPolicyAgent nonRefundableDeadline(SupplierContractItemPolicyAgent.NonRefundableDeadlineEnum nonRefundableDeadline) -
getNonRefundableDeadline
@Nullable public SupplierContractItemPolicyAgent.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(SupplierContractItemPolicyAgent.NonRefundableDeadlineEnum nonRefundableDeadline) -
nonRefundableAfterDeadlineCancellationCharge
public SupplierContractItemPolicyAgent nonRefundableAfterDeadlineCancellationCharge(SupplierContractItemPolicyAgent.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
getNonRefundableAfterDeadlineCancellationCharge
@Nullable public SupplierContractItemPolicyAgent.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(SupplierContractItemPolicyAgent.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
externalIdentifier
-
getExternalIdentifier
Optional geoname externalIdentifier to remote policy.- Returns:
- externalIdentifier
-
setExternalIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-