Class Payload
Defined in File Payload.hpp
Nested Relationships
Nested Types
Class Documentation
-
class Payload
Public Functions
-
std::string brief(const std::string &compartment_prefix = "in") const
A brief human-friendly description of the payload
- Parameters:
compartment_prefix – [in] The prefix to use when describing the compartments
-
class Component
Public Functions
-
Component(std::string sku, uint32_t quantity, std::string compartment)
Constructor.
-
const std::string &sku() const
Stock Keeping Unit (SKU) for this component of the payload.
-
uint32_t quantity() const
The quantity of the specified item in this component of the payload.
-
const std::string &compartment() const
The name of the compartment.
-
Component(std::string sku, uint32_t quantity, std::string compartment)
-
std::string brief(const std::string &compartment_prefix = "in") const