Class TabbyCapturePaymentRequest
java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyCapturePaymentRequest
- 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
Total payment amount captured, including tax, shipping, and excluding any discounts.Date and time the capture was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby.Total discount for the order.getItems()
Array of objects representing the order items being captured.Idempotency key.Shipping cost captured.Tax amount captured.int
hashCode()
void
Total payment amount captured, including tax, shipping, and excluding any discounts.void
setCreatedAt
(String createdAt) Date and time the capture was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby.void
setDiscountAmount
(String discountAmount) Total discount for the order.void
setItems
(List<TabbyOrderItem> items) Array of objects representing the order items being captured.void
setReferenceId
(String referenceId) Idempotency key.void
setShippingAmount
(String shippingAmount) Shipping cost captured.void
setTaxAmount
(String taxAmount) Tax amount captured.toString()
-
Constructor Details
-
TabbyCapturePaymentRequest
public TabbyCapturePaymentRequest()
-
-
Method Details
-
getAmount
Total payment amount captured, including tax, shipping, and excluding any discounts. Allows to send up to 2 decimals for AED and SAR, QAR and up to 3 decimals for KWD and BHD. Defaults to "0.00". -
getReferenceId
Idempotency key. Used to avoid similar capture requests. -
getTaxAmount
Tax amount captured. Defaults to "0.00". -
getShippingAmount
Shipping cost captured. Defaults to "0.00". -
getDiscountAmount
Total discount for the order. Should be positive or zero. Defaults to "0.00". -
getCreatedAt
Date and time the capture was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby. -
getItems
Array of objects representing the order items being captured. -
setAmount
Total payment amount captured, including tax, shipping, and excluding any discounts. Allows to send up to 2 decimals for AED and SAR, QAR and up to 3 decimals for KWD and BHD. Defaults to "0.00". -
setReferenceId
Idempotency key. Used to avoid similar capture requests. -
setTaxAmount
Tax amount captured. Defaults to "0.00". -
setShippingAmount
Shipping cost captured. Defaults to "0.00". -
setDiscountAmount
Total discount for the order. Should be positive or zero. Defaults to "0.00". -
setCreatedAt
Date and time the capture was created, in UTC, and displayed in ISO 8601 datetime format, assigned by Tabby. -
setItems
Array of objects representing the order items being captured. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-