Package com.plaid.client.model
Class PaymentInitiationPaymentReverseResponse
java.lang.Object
com.plaid.client.model.PaymentInitiationPaymentReverseResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class PaymentInitiationPaymentReverseResponse
extends java.lang.Object
PaymentInitiationPaymentReverseResponse defines the response schema for `/payment_initation/payment/reverse`
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentInitiationPaymentReverseResponse.StatusEnum
The status of the refund. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_REFUND_ID
static java.lang.String
SERIALIZED_NAME_REQUEST_ID
static java.lang.String
SERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description PaymentInitiationPaymentReverseResponse()
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getRefundId()
A unique ID identifying the refundjava.lang.String
getRequestId()
A unique identifier for the request, which can be used for troubleshooting.PaymentInitiationPaymentReverseResponse.StatusEnum
getStatus()
The status of the refund.int
hashCode()
PaymentInitiationPaymentReverseResponse
refundId(java.lang.String refundId)
PaymentInitiationPaymentReverseResponse
requestId(java.lang.String requestId)
void
setRefundId(java.lang.String refundId)
void
setRequestId(java.lang.String requestId)
void
setStatus(PaymentInitiationPaymentReverseResponse.StatusEnum status)
PaymentInitiationPaymentReverseResponse
status(PaymentInitiationPaymentReverseResponse.StatusEnum status)
java.lang.String
toString()
-
Field Details
-
SERIALIZED_NAME_REFUND_ID
public static final java.lang.String SERIALIZED_NAME_REFUND_ID- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final java.lang.String SERIALIZED_NAME_STATUS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REQUEST_ID
public static final java.lang.String SERIALIZED_NAME_REQUEST_ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentInitiationPaymentReverseResponse
public PaymentInitiationPaymentReverseResponse()
-
-
Method Details
-
refundId
-
getRefundId
public java.lang.String getRefundId()A unique ID identifying the refund- Returns:
- refundId
-
setRefundId
public void setRefundId(java.lang.String refundId) -
status
public PaymentInitiationPaymentReverseResponse status(PaymentInitiationPaymentReverseResponse.StatusEnum status) -
getStatus
The status of the refund. `PROCESSING`: The refund is currently being processed. The refund will automatically exit this state when processing is complete. `INITIATED`: The refund has been successfully initiated. `EXECUTED`: Indicates that the refund has been successfully executed. `FAILED`: The refund has failed to be executed. This error is retryable once the root cause is resolved.- Returns:
- status
-
setStatus
-
requestId
-
getRequestId
public java.lang.String getRequestId()A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.- Returns:
- requestId
-
setRequestId
public void setRequestId(java.lang.String requestId) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-