Package com.plaid.client.model
Class PaymentInitiationRefund
java.lang.Object
com.plaid.client.model.PaymentInitiationRefund
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class PaymentInitiationRefund
extends java.lang.Object
PaymentInitiationRefund defines a payment initiation refund
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentInitiationRefund.StatusEnum
The status of the refund. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_AMOUNT
static java.lang.String
SERIALIZED_NAME_LAST_STATUS_UPDATE
static java.lang.String
SERIALIZED_NAME_REFUND_ID
static java.lang.String
SERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description PaymentInitiationRefund()
-
Method Summary
Modifier and Type Method Description PaymentInitiationRefund
amount(PaymentAmount amount)
boolean
equals(java.lang.Object o)
PaymentAmount
getAmount()
Get amountjava.time.OffsetDateTime
getLastStatusUpdate()
The date and time of the last time the `status` was updated, in IS0 8601 formatjava.lang.String
getRefundId()
The ID of the refund.PaymentInitiationRefund.StatusEnum
getStatus()
The status of the refund.int
hashCode()
PaymentInitiationRefund
lastStatusUpdate(java.time.OffsetDateTime lastStatusUpdate)
PaymentInitiationRefund
refundId(java.lang.String refundId)
void
setAmount(PaymentAmount amount)
void
setLastStatusUpdate(java.time.OffsetDateTime lastStatusUpdate)
void
setRefundId(java.lang.String refundId)
void
setStatus(PaymentInitiationRefund.StatusEnum status)
PaymentInitiationRefund
status(PaymentInitiationRefund.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_AMOUNT
public static final java.lang.String SERIALIZED_NAME_AMOUNT- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final java.lang.String SERIALIZED_NAME_STATUS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_STATUS_UPDATE
public static final java.lang.String SERIALIZED_NAME_LAST_STATUS_UPDATE- See Also:
- Constant Field Values
-
-
Constructor Details
-
PaymentInitiationRefund
public PaymentInitiationRefund()
-
-
Method Details
-
refundId
-
getRefundId
public java.lang.String getRefundId()The ID of the refund. Like all Plaid identifiers, the `refund_id` is case sensitive.- Returns:
- refundId
-
setRefundId
public void setRefundId(java.lang.String refundId) -
amount
-
getAmount
Get amount- Returns:
- amount
-
setAmount
-
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
-
lastStatusUpdate
-
getLastStatusUpdate
public java.time.OffsetDateTime getLastStatusUpdate()The date and time of the last time the `status` was updated, in IS0 8601 format- Returns:
- lastStatusUpdate
-
setLastStatusUpdate
public void setLastStatusUpdate(java.time.OffsetDateTime lastStatusUpdate) -
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
-