Class OrderItem

Inheritance Relationships

Base Type

Class Documentation

class OrderItem : public axr::sdk::Object

A line item of an order for a particular service that has been rendered.

Public Functions

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

Sets the object’s underlying map of stored values.

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

Sets the underlying map of stored values for the object.

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

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

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

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

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

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

utility::string_t GetProductUid() const

The unique identifier of the product that has been subscribed to.

OrderItem &SetProductUid(const utility::string_t &value)

The unique identifier of the product that has been subscribed to.

const Currency *GetCurrency() const

The form of currency pertaining to the price.

OrderItem &SetCurrency(const Currency *value)

The form of currency pertaining to the price.

utility::string_t GetDescription() const

The detailed description of the product or service rendered.

OrderItem &SetDescription(const utility::string_t &value)

The detailed description of the product or service rendered.

float GetListPrice() const

The original listed price of the product.

OrderItem &SetListPrice(float value)

The original listed price of the product.

float GetPrice() const

The adjusted price after discounts have been applied.

OrderItem &SetPrice(float value)

The adjusted price after discounts have been applied.

uint32_t GetQuantity() const

The quantity of the product that was rendered.

OrderItem &SetQuantity(uint32_t value)

The quantity of the product that was rendered.

bool IsRenewal() const

Indicates if this item represents a renewal of an existing product or service.

OrderItem &SetRenewal(bool value)

Indicates if this item represents a renewal of an existing product or service.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.