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