Class TabbyRefundPaymentRequest
java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyRefundPaymentRequest
- All Implemented Interfaces:
Serializable
The request data to capture the Tabby payment.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Amount refunded.Date and time the refund was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby.getItems()
Array of objects representing the order items being refunded.Reason for the refund.Idempotency key.int
hashCode()
void
Amount refunded.void
setCreatedAt
(String createdAt) Date and time the refund was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby.void
setItems
(List<TabbyOrderItem> items) Array of objects representing the order items being refunded.void
Reason for the refund.void
setReferenceId
(String referenceId) Idempotency key.toString()
-
Constructor Details
-
TabbyRefundPaymentRequest
public TabbyRefundPaymentRequest()
-
-
Method Details
-
getAmount
Amount refunded. Allows to send up to 2 decimals for AED, SAR, QAR and up to 3 decimals for KWD and BHD. Defaults to "0.00". -
getReferenceId
Idempotency key. Used to avoid similar refund requests. -
getReason
Reason for the refund. -
getCreatedAt
Date and time the refund was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby. -
getItems
Array of objects representing the order items being refunded. -
setAmount
Amount refunded. Allows to send up to 2 decimals for AED, SAR, QAR and up to 3 decimals for KWD and BHD. Defaults to "0.00". -
setReferenceId
Idempotency key. Used to avoid similar refund requests. -
setReason
Reason for the refund. -
setCreatedAt
Date and time the refund was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby. -
setItems
Array of objects representing the order items being refunded. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-