Class TabbyPaymentCapture
java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyPaymentCapture
- All Implemented Interfaces:
Serializable
- 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.getId()
Unique capture ID, assigned by Tabby.getItems()
Array of objects representing the order items being captured.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
Unique capture ID, assigned by Tabby.void
setItems
(List<TabbyOrderItem> items) Array of objects representing the order items being captured.void
setShippingAmount
(String shippingAmount) Shipping cost captured.void
setTaxAmount
(String taxAmount) Tax amount captured.toString()
-
Constructor Details
-
TabbyPaymentCapture
public TabbyPaymentCapture()
-
-
Method Details
-
getId
Unique capture ID, assigned by Tabby. -
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. Default: "0.00". -
getTaxAmount
Tax amount captured. Default: "0.00". -
getShippingAmount
Shipping cost captured. Default: "0.00". -
getDiscountAmount
Total discount for the order. Should be positive or zero. Default: "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. -
setId
Unique capture ID, assigned by Tabby. -
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. Default: "0.00". -
setTaxAmount
Tax amount captured. Default: "0.00". -
setShippingAmount
Shipping cost captured. Default: "0.00". -
setDiscountAmount
Total discount for the order. Should be positive or zero. Default: "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
-