Class PropertyBookingRefundRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.booking.model.PropertyBookingRefundRequestSupplier
@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 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 @Size(min=1) StringTextual description of why the refund is being requested@NotNull @Valid CustomMonetaryAmountRequested amount to 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
public PropertyBookingRefundRequestSupplier type(@Nonnull PropertyBookingRefundRequestSupplier.TypeEnum type) -
getType
Type of reason- Returns:
- type
-
setType
-
description
-
getDescription
Textual description of why the refund is being requested- Returns:
- description
-
setDescription
-
refund
-
getRefund
Requested amount to refund- Returns:
- refund
-
setRefund
-
cancelOnRefund
public PropertyBookingRefundRequestSupplier cancelOnRefund(@Nonnull 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(@Nonnull PropertyBookingRefundRequestSupplier.CancelOnRefundEnum cancelOnRefund) -
equals
-
hashCode
-
toString
-