Package travel.wink.sdk.booking.model
Class RefundAgent
java.lang.Object
travel.wink.sdk.booking.model.RefundAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-06T16:57:07.874773188+07:00[Asia/Bangkok]")
public class RefundAgent
extends Object
Refund objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumA description of the refund that can be displayed to bookerstatic enumStatus of the refund requeststatic enumThe entity making the refund requeststatic enumStatus of the refund -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquirerRefundIdentifier(String acquirerRefundIdentifier) created(LocalDateTime created) description(String description) booleanThe acquirer refund identifier.When the amount was refunded@NotNull StringA description of the refund that can be displayed to booker@NotNull StringA unique identifier@NotNull RefundAgent.ReasonTypeEnumA description of the refund that can be displayed to bookerThis is the receipt url that contains a friendly web confirmation page.@NotNull @Valid MoneysAgentGet refund@NotNull StringAdmin may choose to respond to the refund request made by the hotel@NotNull RefundAgent.RequestStatusEnumStatus of the refund request@NotNull RefundAgent.RequestTypeEnumThe entity making the refund request@NotNull RefundAgent.StatusTypeEnumStatus of the refundinthashCode()identifier(String identifier) reasonType(RefundAgent.ReasonTypeEnum reasonType) receiptUrl(String receiptUrl) refund(MoneysAgent refund) requestResponse(String requestResponse) requestStatus(RefundAgent.RequestStatusEnum requestStatus) requestType(RefundAgent.RequestTypeEnum requestType) voidsetAcquirerRefundIdentifier(String acquirerRefundIdentifier) voidsetCreated(LocalDateTime created) voidsetDescription(String description) voidsetIdentifier(String identifier) voidsetReasonType(RefundAgent.ReasonTypeEnum reasonType) voidsetReceiptUrl(String receiptUrl) voidsetRefund(MoneysAgent refund) voidsetRequestResponse(String requestResponse) voidsetRequestStatus(RefundAgent.RequestStatusEnum requestStatus) voidsetRequestType(RefundAgent.RequestTypeEnum requestType) voidsetStatusType(RefundAgent.StatusTypeEnum statusType) statusType(RefundAgent.StatusTypeEnum statusType) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ACQUIRER_REFUND_IDENTIFIER
- See Also:
-
JSON_PROPERTY_REFUND
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_REASON_TYPE
- See Also:
-
JSON_PROPERTY_STATUS_TYPE
- See Also:
-
JSON_PROPERTY_REQUEST_TYPE
- See Also:
-
JSON_PROPERTY_REQUEST_STATUS
- See Also:
-
JSON_PROPERTY_REQUEST_RESPONSE
- See Also:
-
JSON_PROPERTY_RECEIPT_URL
- See Also:
-
-
Constructor Details
-
RefundAgent
public RefundAgent()
-
-
Method Details
-
identifier
-
getIdentifier
A unique identifier- Returns:
- identifier
-
setIdentifier
-
acquirerRefundIdentifier
-
getAcquirerRefundIdentifier
The acquirer refund identifier. Will get attached once it comes in on the webhook.- Returns:
- acquirerRefundIdentifier
-
setAcquirerRefundIdentifier
-
refund
-
getRefund
Get refund- Returns:
- refund
-
setRefund
-
created
-
getCreated
When the amount was refunded- Returns:
- created
-
setCreated
-
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
-
statusType
-
getStatusType
Status of the refund- Returns:
- statusType
-
setStatusType
-
requestType
-
getRequestType
The entity making the refund request- Returns:
- requestType
-
setRequestType
-
requestStatus
-
getRequestStatus
Status of the refund request- Returns:
- requestStatus
-
setRequestStatus
-
requestResponse
-
getRequestResponse
Admin may choose to respond to the refund request made by the hotel- Returns:
- requestResponse
-
setRequestResponse
-
receiptUrl
-
getReceiptUrl
This is the receipt url that contains a friendly web confirmation page. Comes in on the webhook.- Returns:
- receiptUrl
-
setReceiptUrl
-
equals
-
hashCode
public int hashCode() -
toString
-