Product Class
Titanium proxy object representing an in-app product.
Methods
purchase
(
Void
-
[params]
Begins purchase process for provided product. See ITEM_TYPE_ONE_TIME and ITEM_TYPE_SUBSCRIPTION for the type parameter.
Parameters:
-
[params]
Object optionalAn object with the following properties:
-
[applicationPayload]
String optionalA developer-specified string that contains supplemental information about an order. Optional, defaults to empty string.
-
[quantity]
Number optionalNumber of products to purchase. Default is 1.
-
Returns:
Void:
Properties
description
String
read-only
Product description.
priceAsString
String
read-only
Formatted price of the item, including its currency sign. The price does not include tax.
SKU
String
read-only
The product identifier.
title
String
read-only
Product title.