Class InventoryItem

Inheritance Relationships

Base Type

Class Documentation

class InventoryItem : public axr::sdk::EntityBase

Public Functions

inline InventoryItem()
inline InventoryItem(const InventoryItem &value)
inline InventoryItem(InventoryItem &&value)
inline virtual ~InventoryItem()
inline virtual InventoryItem &SetProperties(const std::map<utility::string_t, Variant> &value) override

Sets the object’s underlying map of stored values.

inline virtual InventoryItem &SetProperties(std::map<utility::string_t, Variant> &&value) override

Sets the underlying map of stored values for the object.

inline virtual InventoryItem &SetProperty(const utility::char_t *name, const Variant &value) override

Sets the property of the given name to the provided value.

inline virtual InventoryItem &SetProperty(const utility::string_t &name, const Variant &value) override

Sets the property of the given name to the provided value.

inline virtual InventoryItem &SetRemoteUrl(const utility::string_t &url) override

Returns the URL of the remote server endpoint where the object is managed.

inline virtual InventoryItem &SetUid(const utility::string_t &value) override

Sets the value of the Uid property.

Parameters

value – The value to set.

inline virtual InventoryItem &SetDateCreated(const datetime &value) override

Sets the value of the DateCreated property.

Parameters

value – The value to set.

inline virtual InventoryItem &SetDateModified(const datetime &value) override

Sets the value of the DateModified property.

Parameters

value – The value to set.

inline virtual InventoryItem &SetVersion(const uint64_t value) override

Sets the value of the Version property.

Parameters

value – The value to set.

virtual void Validate() override
utility::string_t GetItemUid() const

Returns the value of the ItemUid property as a utility::string_t.

InventoryItem &SetItemUid(const utility::string_t &value)

Sets the value of the ItemUid property.

Parameters

value – The value to set.

utility::string_t GetPersonaUid() const

Returns the value of the PersonaUid property as a utility::string_t.

InventoryItem &SetPersonaUid(const utility::string_t &value)

Sets the value of the PersonaUid property.

Parameters

value – The value to set.

int64_t GetQuantity() const

Returns the number of items in the inventory.

InventoryItem &SetQuantity(int64_t value)

Sets the number of items in the inventory.

Parameters

value – The value to set.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.