Class SupplierContractItemPolicySupplierDetails
java.lang.Object
travel.wink.sdk.extranet.booking.model.SupplierContractItemPolicySupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:17:36.846722567+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class SupplierContractItemPolicySupplierDetails
extends Object
Outlines the policy for this item.
-
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
ConstructorsConstructorDescriptionSupplierContractItemPolicySupplierDetails(Boolean fullyRefundable, Boolean partiallyRefundable) Constructor with only readonly parameters -
Method Summary
Modifier and TypeMethodDescriptionadvanceCancellationFreeOfCharge(SupplierContractItemPolicySupplierDetails.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.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(SupplierContractItemPolicySupplierDetails.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) nonRefundableCancellationCharge(SupplierContractItemPolicySupplierDetails.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) nonRefundableDeadline(SupplierContractItemPolicySupplierDetails.NonRefundableDeadlineEnum nonRefundableDeadline) refundable(Boolean refundable) refundableCancellationCharge(SupplierContractItemPolicySupplierDetails.RefundableCancellationChargeEnum refundableCancellationCharge) voidsetAdvanceCancellationFreeOfCharge(SupplierContractItemPolicySupplierDetails.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) voidsetExternalIdentifier(String externalIdentifier) voidsetNonRefundableAfterDeadlineCancellationCharge(SupplierContractItemPolicySupplierDetails.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) voidsetNonRefundableCancellationCharge(SupplierContractItemPolicySupplierDetails.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) voidsetNonRefundableDeadline(SupplierContractItemPolicySupplierDetails.NonRefundableDeadlineEnum nonRefundableDeadline) voidvoidsetRefundable(Boolean refundable) voidsetRefundableCancellationCharge(SupplierContractItemPolicySupplierDetails.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_FULLY_REFUNDABLE
- See Also:
-
JSON_PROPERTY_PARTIALLY_REFUNDABLE
- See Also:
-
-
Constructor Details
-
SupplierContractItemPolicySupplierDetails
public SupplierContractItemPolicySupplierDetails() -
SupplierContractItemPolicySupplierDetails
-
-
Method Details
-
refundable
-
getRefundable
Whether this booking is refundable or not.- Returns:
- refundable
-
setRefundable
-
advanceCancellationFreeOfCharge
public SupplierContractItemPolicySupplierDetails advanceCancellationFreeOfCharge(@Nullable SupplierContractItemPolicySupplierDetails.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
getAdvanceCancellationFreeOfCharge
@Nullable public SupplierContractItemPolicySupplierDetails.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(@Nullable SupplierContractItemPolicySupplierDetails.AdvanceCancellationFreeOfChargeEnum advanceCancellationFreeOfCharge) -
refundableCancellationCharge
public SupplierContractItemPolicySupplierDetails refundableCancellationCharge(@Nullable SupplierContractItemPolicySupplierDetails.RefundableCancellationChargeEnum refundableCancellationCharge) -
getRefundableCancellationCharge
@Nullable public SupplierContractItemPolicySupplierDetails.RefundableCancellationChargeEnum getRefundableCancellationCharge()If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.- Returns:
- refundableCancellationCharge
-
setRefundableCancellationCharge
public void setRefundableCancellationCharge(@Nullable SupplierContractItemPolicySupplierDetails.RefundableCancellationChargeEnum refundableCancellationCharge) -
noShowCharge
public SupplierContractItemPolicySupplierDetails noShowCharge(@Nullable SupplierContractItemPolicySupplierDetails.NoShowChargeEnum noShowCharge) -
getNoShowCharge
In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.- Returns:
- noShowCharge
-
setNoShowCharge
public void setNoShowCharge(@Nullable SupplierContractItemPolicySupplierDetails.NoShowChargeEnum noShowCharge) -
nonRefundableCancellationCharge
public SupplierContractItemPolicySupplierDetails nonRefundableCancellationCharge(@Nullable SupplierContractItemPolicySupplierDetails.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
getNonRefundableCancellationCharge
@Nullable public SupplierContractItemPolicySupplierDetails.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(@Nullable SupplierContractItemPolicySupplierDetails.NonRefundableCancellationChargeEnum nonRefundableCancellationCharge) -
nonRefundableDeadline
public SupplierContractItemPolicySupplierDetails nonRefundableDeadline(@Nullable SupplierContractItemPolicySupplierDetails.NonRefundableDeadlineEnum nonRefundableDeadline) -
getNonRefundableDeadline
@Nullable public SupplierContractItemPolicySupplierDetails.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(@Nullable SupplierContractItemPolicySupplierDetails.NonRefundableDeadlineEnum nonRefundableDeadline) -
nonRefundableAfterDeadlineCancellationCharge
public SupplierContractItemPolicySupplierDetails nonRefundableAfterDeadlineCancellationCharge(@Nullable SupplierContractItemPolicySupplierDetails.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
getNonRefundableAfterDeadlineCancellationCharge
@Nullable public SupplierContractItemPolicySupplierDetails.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(@Nullable SupplierContractItemPolicySupplierDetails.NonRefundableAfterDeadlineCancellationChargeEnum nonRefundableAfterDeadlineCancellationCharge) -
externalIdentifier
public SupplierContractItemPolicySupplierDetails externalIdentifier(@Nullable String externalIdentifier) -
getExternalIdentifier
Optional geoname externalIdentifier to remote policy.- Returns:
- externalIdentifier
-
setExternalIdentifier
-
getFullyRefundable
-
getPartiallyRefundable
Get partiallyRefundable- Returns:
- partiallyRefundable
-
equals
-
hashCode
-
toString
-