A product item.

Constructor

new()

Variables

billing:ItemBilling

Billing information (only for SubscriptionRequest)

description:String

Description.

displayName:String

Display name.

globalId:String

Global id.

itemType:String

Item type.

mpn:String

Item manufacture part number.

name:String

Name.

oldQuantity:String

Previous value of quantity.

params:Collection<Param>

List of Item and Item x Marketplace Configuration Phase Parameter Context-Bound Object.

period:String

Period.

quantity:String

Number of items of the type in the asset ("-1" if unlimited)

renewal:Renewal

Parameters of renewal request (empty for all other types).

status:String

Item status. One of: draft, published, endofsale.

type:String

Type.

Methods

getParamById(paramId:String):Param

Returns:

The Param with the given id, or null if it was not found.

Inherited Variables

Defined by IdModel

id:String

Id of the model.

Inherited Methods

Defined by Model

toObject():Dynamic

Returns:

A Haxe dynamic object with a shallow copy of this model's properties.

toString():String

Returns:

A String with the JSON representation of this Model.