Offer

Constructors

this
this()

Creates a new offer.

Members

Properties

availability
ItemAvailability availability [@property setter]

Sets the availability.

availability
ItemAvailability availability [@property getter]

Gets the availability.

price
string price [@property getter]

Gets the price.

price
string price [@property setter]

Sets the price.

priceCurrency
string priceCurrency [@property getter]

Gets the price currency.

priceCurrency
string priceCurrency [@property setter]

Sets the price currency.

url
string url [@property getter]

Gets the url.

url
string url [@property setter]

Sets the url.

Inherited Members

From SchemaObject

_isChild
bool _isChild;

Boolean determining whether the object is a child or not.

isRoot
bool isRoot [@property getter]

Gets a boolean determining whether the schema object is a root object or not.

addField
void addField(string key, T schemaObject)

Adds a schema object field to the schema object.

addField
void addField(string key, T[] values)

Adds an array of schema objects to the schema object.

addField
void addField(string key, T value)

Adds a field to the schema object.

removeField
void removeField(string key)

Removes a field from the schema object.

toString
string toString()

Converts the schema object to a string that represent a JSON-LD object.

Meta