java.lang.Object
com.broadleafcommerce.tabby.provider.domain.Order

public class Order extends Object
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • Order

      public Order()
  • Method Details

    • addAttribute

      public void addAttribute(String name, Object value)
      Add a value to the JSON data. Necessary for populating the JSON from the payload.
      Parameters:
      name - the attribute name
      value - the attribute value
    • getAttribute

      public Object getAttribute(String name)
      Get a value from the JSON data. Necessary for populating the JSON from the payload.
      Parameters:
      name - the attribute name
    • getId

      public String getId()
      The context ID of the order.
      Returns:
      the context ID of the order
    • getStatus

      public String getStatus()
      The status of this order.
      Returns:
      The status of this order.
    • getCustomerName

      public String getCustomerName()
      The name of the customer that owns this order.
      Returns:
      The name of the customer that owns this order.
    • getEmailAddress

      public String getEmailAddress()
      The customer's email address.
      Returns:
      The customer's email address.
    • getSubmitDate

      public Instant getSubmitDate()
      The date that this order was submitted.
      Returns:
      The date that this order was submitted.
    • getOrderPricing

      public OrderPricing getOrderPricing()
      Embedded container for all pricing information on this order.
      Returns:
      Embedded container for all pricing information on this order.
    • getJsonMap

      public Map<String,Object> getJsonMap()
      JSON data for the order object which isn't already stored in other fields.
      Returns:
      JSON order object data
    • setId

      public void setId(String id)
      The context ID of the order.
      Parameters:
      id - the context ID of the order
    • setStatus

      public void setStatus(String status)
      The status of this order.
      Parameters:
      status - The status of this order.
    • setCustomerName

      public void setCustomerName(String customerName)
      The name of the customer that owns this order.
      Parameters:
      customerName - The name of the customer that owns this order.
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
      The customer's email address.
      Parameters:
      emailAddress - The customer's email address.
    • setSubmitDate

      public void setSubmitDate(Instant submitDate)
      The date that this order was submitted.
      Parameters:
      submitDate - The date that this order was submitted.
    • setOrderPricing

      public void setOrderPricing(OrderPricing orderPricing)
      Embedded container for all pricing information on this order.
      Parameters:
      orderPricing - Embedded container for all pricing information on this order.
    • setJsonMap

      public void setJsonMap(Map<String,Object> jsonMap)
      JSON data for the order object which isn't already stored in other fields.
      Parameters:
      jsonMap - JSON order object data