Class OrderFulfillment

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

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

    • OrderFulfillment

      public OrderFulfillment()
  • 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 unique identifier for this fulfillment.
    • getOrderFulfillmentNumber

      public String getOrderFulfillmentNumber()
      The number for this individual fulfillment, unique within the order.
      Returns:
      the number for this individual fulfillment
    • getStatus

      public String getStatus()
      The status of this fulfillment.
      Returns:
      the status of this fulfillment
    • getAddress

      public Address getAddress()
      The shipping address for this fulfillment.
      Returns:
      the shipping address for this fulfillment
    • getJsonMap

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

      public void setId(String id)
      The unique identifier for this fulfillment.
    • setOrderFulfillmentNumber

      public void setOrderFulfillmentNumber(String orderFulfillmentNumber)
      The number for this individual fulfillment, unique within the order.
      Parameters:
      orderFulfillmentNumber - the number for this individual fulfillment
    • setStatus

      public void setStatus(String status)
      The status of this fulfillment.
      Parameters:
      status - the status of this fulfillment
    • setAddress

      public void setAddress(Address address)
      The shipping address for this fulfillment.
      Parameters:
      address - the shipping address for this fulfillment
    • setJsonMap

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