ItemOptionValue

An object representing a value that can be held by any ItemOption.

Usage

The ItemOptionValue object is only meaningful in the context of an ItemOption object, which in turn is only meaningful in the context of an LmsItemObject.

Identifying Fields

The following three fields together uniquely identify an ItemOptionValue object.

ItemId

The item to which this option belongs.

OptionNumber

The ID of the option. This must be unique for a given ItemId.

ValueId

The ID of the value corresponding to the above OptionNumber. This must be unique for a given OptionNumber and ItemId.

Fields

Values

A collection of value strings for the value localized in various languages. They key is the language and the value is the localized string.

Descriptions

A collection of description strings. The key is the language code and the value is the description localized in that language.

Price

The price of the value given by that option.

TaxCode

A string representing what tax to apply to the Price.