Package travel.wink.sdk.affiliate.model
Class RefundAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.RefundAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-22T15:42:37.943829811+07:00[Asia/Bangkok]")
public class RefundAffiliate
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 enumThe type of refund determines how the funds are deducted each beneficiary.static 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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquirerRefundIdentifier(String acquirerRefundIdentifier) allocation(RefundAffiliate.AllocationEnum allocation) created(LocalDateTime created) description(String description) booleanThe acquirer refund identifier.The type of refund determines how the funds are deducted each beneficiary.When the amount was refunded@NotNull StringA description of the refund that can be displayed to booker@NotNull StringA unique identifier@NotNull RefundAffiliate.ReasonTypeEnumA description of the refund that can be displayed to bookerThis is the receipt url that contains a friendly web confirmation page.@NotNull @Valid CustomMonetaryAmountGet refundThe SSO person / entity that requested the refund.@NotNull StringAdmin may choose to respond to the refund request made by the hotel@NotNull RefundAffiliate.RequestStatusEnumStatus of the refund request@NotNull RefundAffiliate.RequestTypeEnumThe entity making the refund requestIn case a TripPay admin has to go in and re-send the refund request to Stripe, we want to not to the same calculations again when a retry is executed so we keep track of retries here.@NotNull RefundAffiliate.StatusTypeEnumStatus of the refundinthashCode()identifier(String identifier) reasonType(RefundAffiliate.ReasonTypeEnum reasonType) receiptUrl(String receiptUrl) refund(CustomMonetaryAmount refund) requestedByIdentifier(String requestedByIdentifier) requestResponse(String requestResponse) requestStatus(RefundAffiliate.RequestStatusEnum requestStatus) requestType(RefundAffiliate.RequestTypeEnum requestType) voidsetAcquirerRefundIdentifier(String acquirerRefundIdentifier) voidsetAllocation(RefundAffiliate.AllocationEnum allocation) voidsetCreated(LocalDateTime created) voidsetDescription(String description) voidsetIdentifier(String identifier) voidsetReasonType(RefundAffiliate.ReasonTypeEnum reasonType) voidsetReceiptUrl(String receiptUrl) voidsetRefund(CustomMonetaryAmount refund) voidsetRequestedByIdentifier(String requestedByIdentifier) voidsetRequestResponse(String requestResponse) voidsetRequestStatus(RefundAffiliate.RequestStatusEnum requestStatus) voidsetRequestType(RefundAffiliate.RequestTypeEnum requestType) voidsetRetries(Integer retries) voidsetStatusType(RefundAffiliate.StatusTypeEnum statusType) statusType(RefundAffiliate.StatusTypeEnum statusType) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ACQUIRER_REFUND_IDENTIFIER
- See Also:
-
JSON_PROPERTY_REQUESTED_BY_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:
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_ALLOCATION
- See Also:
-
-
Constructor Details
-
RefundAffiliate
public RefundAffiliate()
-
-
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
-
requestedByIdentifier
-
getRequestedByIdentifier
The SSO person / entity that requested the refund.- Returns:
- requestedByIdentifier
-
setRequestedByIdentifier
-
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
-
retries
-
getRetries
In case a TripPay admin has to go in and re-send the refund request to Stripe, we want to not to the same calculations again when a retry is executed so we keep track of retries here.- Returns:
- retries
-
setRetries
-
allocation
-
getAllocation
The type of refund determines how the funds are deducted each beneficiary.- Returns:
- allocation
-
setAllocation
-
equals
-
hashCode
public int hashCode() -
toString
-