Package io.trippay.sdk.payment.model
Class RefundRequest
java.lang.Object
io.trippay.sdk.payment.model.RefundRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-09T10:13:04.222556669+07:00[Asia/Bangkok]")
public class RefundRequest
extends Object
RefundRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether to cancel the booking alongside requesting a refund.static enumA description of the refund that can be displayed to booker -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelOnRefund(RefundRequest.CancelOnRefundEnum cancelOnRefund) description(String description) boolean@NotNull RefundRequest.CancelOnRefundEnumWhether to cancel the booking alongside requesting a refund.@NotNull StringA description of the refund that can be displayed to booker@NotNull RefundRequest.ReasonTypeEnumA description of the refund that can be displayed to booker@NotNull @Valid CustomMonetaryAmountGet refundinthashCode()reasonType(RefundRequest.ReasonTypeEnum reasonType) refund(CustomMonetaryAmount refund) voidsetCancelOnRefund(RefundRequest.CancelOnRefundEnum cancelOnRefund) voidsetDescription(String description) voidsetReasonType(RefundRequest.ReasonTypeEnum reasonType) voidsetRefund(CustomMonetaryAmount refund) toString()
-
Field Details
-
JSON_PROPERTY_REFUND
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_REASON_TYPE
- See Also:
-
JSON_PROPERTY_CANCEL_ON_REFUND
- See Also:
-
-
Constructor Details
-
RefundRequest
public RefundRequest()
-
-
Method Details
-
refund
-
getRefund
Get refund- Returns:
- refund
-
setRefund
-
description
-
getDescription
A description of the refund that can be displayed to booker- Returns:
- description
-
setDescription
-
reasonType
-
getReasonType
A description of the refund that can be displayed to booker- Returns:
- reasonType
-
setReasonType
-
cancelOnRefund
-
getCancelOnRefund
Whether to cancel the booking alongside requesting a refund.- Returns:
- cancelOnRefund
-
setCancelOnRefund
-
equals
-
hashCode
public int hashCode() -
toString
-