Product¶
Summary¶
This model represents a product in the store.
Model¶
{
"base": false,
"cash": -1,
"category": "",
"category_id": "",
"currency": -1,
"currency_id": -1,
"currency_name": "",
"id": -1,
"level": -1,
"name": "",
"parent_id": null,
"pp": -1,
"price": -1,
"product_id": -1,
"sub": -1,
"tier_name": "",
"type": ""
}
Detail¶
base
Type: Boolean
Default Value:false
- cash
Cash you paid.
Type: Number
Default Value:-1
- category
Name of category this product is sorted in.
Type: String
Default Value:""
- category_id
Unique identifier of category.
Type: String
Default Value:""
- currency
Currency used for payment.
Type: Number
Default Value:-1
- currency_id
Unique identifier of currency.
Type: Number
Default Value:-1
- currency_name
Name of the currency used.
Type: String
Default Value:""
- id
Unique identifier of transaction.
Type: Number
Default Value:-1
- level
Level you need to purchase this item.
Type: Number
Default Value:-1
- name
Name of the item.
Type: String
Default Value:""
- parent_id
Item from which this product derives from.
Type: Number
Default Value:-1
- pp
Plug points paid.
Type: Number
Default Value:-1
- price
Product’s price.
Type: Number
Default Value:-1
- product_id
Unique identifier of product.
Note
This is also used in the purchase to identify the item you want to buy.
Type: Number
Default Value:-1
- sub
Only available for subscribers.
Type: Number
Default Value:-1
- tier_name
Kind of product you buy, i.e. rave.
Type: String
Default Value:""
- type
type of product, i.e. “badges”.
Type: String
Default Value:""