In-App Products Module for Android

API Docs for: 1.0.2
Show:

Product Class

Module: Readme

Titanium proxy object representing an in-app product.

Item Index

Methods

Methods

purchase

(
  • [params]
)
Void

Available since 1.0.0

Begins purchase process for provided product. See ITEM_TYPE_ONE_TIME and ITEM_TYPE_SUBSCRIPTION for the type parameter.

Parameters:

  • [params] Object optional

    An object with the following properties:

    • [applicationPayload] String optional

      A developer-specified string that contains supplemental information about an order. Optional, defaults to empty string.

    • [quantity] Number optional

      Number of products to purchase. Default is 1.

Returns:

Void:

Properties

description

String read-only

Available since 1.0.0

Product description.

priceAsString

String read-only

Available since 1.0.0

Formatted price of the item, including its currency sign. The price does not include tax.

SKU

String read-only

Available since 1.0.0

The product identifier.

title

String read-only

Available since 1.0.0

Product title.