Package travel.wink.sdk.extranet.model
Class PropertyBookingRefundRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.model.PropertyBookingRefundRequestSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-12-21T14:57:37.589000094+07:00[Asia/Bangkok]")
public class PropertyBookingRefundRequestSupplier
extends Object
PropertyBookingRefundRequestSupplier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether to cancel the booking alongside requesting a refund.static enumType of reason -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanWhether to cancel the booking alongside requesting a refund.@NotNull StringTextual description of why the refund is being requested@NotNull @Valid CustomMonetaryAmountGet refundgetType()Type of reasoninthashCode()refund(CustomMonetaryAmount refund) voidvoidsetDescription(String description) voidsetRefund(CustomMonetaryAmount refund) voidtoString()
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_REFUND
- See Also:
-
JSON_PROPERTY_CANCEL_ON_REFUND
- See Also:
-
-
Constructor Details
-
PropertyBookingRefundRequestSupplier
public PropertyBookingRefundRequestSupplier()
-
-
Method Details
-
type
-
getType
Type of reason- Returns:
- type
-
setType
-
description
-
getDescription
Textual description of why the refund is being requested- Returns:
- description
-
setDescription
-
refund
-
getRefund
Get refund- Returns:
- refund
-
setRefund
-
cancelOnRefund
public PropertyBookingRefundRequestSupplier cancelOnRefund(PropertyBookingRefundRequestSupplier.CancelOnRefundEnum cancelOnRefund) -
getCancelOnRefund
@Nonnull @NotNull public @NotNull PropertyBookingRefundRequestSupplier.CancelOnRefundEnum getCancelOnRefund()Whether to cancel the booking alongside requesting a refund.- Returns:
- cancelOnRefund
-
setCancelOnRefund
public void setCancelOnRefund(PropertyBookingRefundRequestSupplier.CancelOnRefundEnum cancelOnRefund) -
equals
-
hashCode
public int hashCode() -
toString
-