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 booleanbooleanTotal 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.inthashCode()voidTotal payment amount, including tax, shipping, and excluding any discounts.voidsetBuyer(TabbyBuyer buyer) voidsetItems(List<TabbyOrderItem> items) Array of objects representing the order items in this payment.voidsetPaymentMethod(String paymentMethod) Payment method used.voidsetPurchasedAt(String purchasedAt) Time the order was placed, in UTC, and displayed in ISO 8601 datetime format.voidsetShippingAddress(TabbyShippingAddress shippingAddress) voidStatus 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
-