Class TabbyOrderHistory

java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyOrderHistory
All Implemented Interfaces:
Serializable

public class TabbyOrderHistory extends Object implements Serializable
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • TabbyOrderHistory

      public TabbyOrderHistory()
  • Method Details

    • getPurchasedAt

      public String getPurchasedAt()
      Time the order was placed, in UTC, and displayed in ISO 8601 datetime format.
    • getAmount

      public String getAmount()
      Total payment amount, including tax, shipping, and excluding any discounts.
    • getPaymentMethod

      public String getPaymentMethod()
      Payment method used. Enum: "card" "cod".
    • getStatus

      public String getStatus()
      Status of the order. Enum: "new" "processing" "complete" "refunded" "canceled" "unknown"
    • getBuyer

      public TabbyBuyer getBuyer()
    • getShippingAddress

      public TabbyShippingAddress getShippingAddress()
    • getItems

      public List<TabbyOrderItem> 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

      public void setPurchasedAt(String purchasedAt)
      Time the order was placed, in UTC, and displayed in ISO 8601 datetime format.
    • setAmount

      public void setAmount(String amount)
      Total payment amount, including tax, shipping, and excluding any discounts.
    • setPaymentMethod

      public void setPaymentMethod(String paymentMethod)
      Payment method used. Enum: "card" "cod".
    • setStatus

      public void setStatus(String status)
      Status of the order. Enum: "new" "processing" "complete" "refunded" "canceled" "unknown"
    • setBuyer

      public void setBuyer(TabbyBuyer buyer)
    • setShippingAddress

      public void setShippingAddress(TabbyShippingAddress shippingAddress)
    • setItems

      public void setItems(List<TabbyOrderItem> items)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object