Class TabbyOrderHistory
java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyOrderHistory
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Total payment amount, including tax, shipping, and excluding any discounts.getBuyer()
getItems()
Array of objects representing the order items in this payment.Payment method used.Time the order was placed, in UTC, and displayed in ISO 8601 datetime format.Status of the order.int
hashCode()
void
Total payment amount, including tax, shipping, and excluding any discounts.void
setBuyer
(TabbyBuyer buyer) void
setItems
(List<TabbyOrderItem> items) Array of objects representing the order items in this payment.void
setPaymentMethod
(String paymentMethod) Payment method used.void
setPurchasedAt
(String purchasedAt) Time the order was placed, in UTC, and displayed in ISO 8601 datetime format.void
setShippingAddress
(TabbyShippingAddress shippingAddress) void
Status of the order.toString()
-
Constructor Details
-
TabbyOrderHistory
public TabbyOrderHistory()
-
-
Method Details
-
getPurchasedAt
Time the order was placed, in UTC, and displayed in ISO 8601 datetime format. -
getAmount
Total payment amount, including tax, shipping, and excluding any discounts. -
getPaymentMethod
Payment method used. Enum: "card" "cod". -
getStatus
Status of the order. Enum: "new" "processing" "complete" "refunded" "canceled" "unknown" -
getBuyer
-
getShippingAddress
-
getItems
Array of objects representing the order items in this payment. If you want to offer consumers a discount, use this object to create a “discount order item”, with the unit_price set to the negative value of the discount. -
setPurchasedAt
Time the order was placed, in UTC, and displayed in ISO 8601 datetime format. -
setAmount
Total payment amount, including tax, shipping, and excluding any discounts. -
setPaymentMethod
Payment method used. Enum: "card" "cod". -
setStatus
Status of the order. Enum: "new" "processing" "complete" "refunded" "canceled" "unknown" -
setBuyer
-
setShippingAddress
-
setItems
Array of objects representing the order items in this payment. If you want to offer consumers a discount, use this object to create a “discount order item”, with the unit_price set to the negative value of the discount. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-