Class Payload::Component

Nested Relationships

This class is a nested type of Class Payload.

Class Documentation

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.