Class OrderFulfillment
java.lang.Object
com.broadleafcommerce.tabby.provider.domain.OrderFulfillment
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) Add a value to the JSON data.The shipping address for this fulfillment.getAttribute
(String name) Get a value from the JSON data.getId()
The unique identifier for this fulfillment.JSON data for the fulfillment object which isn't already stored in other fields.The number for this individual fulfillment, unique within the order.The status of this fulfillment.void
setAddress
(Address address) The shipping address for this fulfillment.void
The unique identifier for this fulfillment.void
setJsonMap
(Map<String, Object> jsonMap) JSON data for the fulfillment object which isn't already stored in other fields.void
setOrderFulfillmentNumber
(String orderFulfillmentNumber) The number for this individual fulfillment, unique within the order.void
The status of this fulfillment.
-
Constructor Details
-
OrderFulfillment
public OrderFulfillment()
-
-
Method Details
-
addAttribute
Add a value to the JSON data. Necessary for populating the JSON from the payload.- Parameters:
name
- the attribute namevalue
- the attribute value
-
getAttribute
Get a value from the JSON data. Necessary for populating the JSON from the payload.- Parameters:
name
- the attribute name
-
getId
The unique identifier for this fulfillment. -
getOrderFulfillmentNumber
The number for this individual fulfillment, unique within the order.- Returns:
- the number for this individual fulfillment
-
getStatus
The status of this fulfillment.- Returns:
- the status of this fulfillment
-
getAddress
The shipping address for this fulfillment.- Returns:
- the shipping address for this fulfillment
-
getJsonMap
JSON data for the fulfillment object which isn't already stored in other fields.- Returns:
- JSON order object data
-
setId
The unique identifier for this fulfillment. -
setOrderFulfillmentNumber
The number for this individual fulfillment, unique within the order.- Parameters:
orderFulfillmentNumber
- the number for this individual fulfillment
-
setStatus
The status of this fulfillment.- Parameters:
status
- the status of this fulfillment
-
setAddress
The shipping address for this fulfillment.- Parameters:
address
- the shipping address for this fulfillment
-
setJsonMap
JSON data for the fulfillment object which isn't already stored in other fields.- Parameters:
jsonMap
- JSON order object data
-