IAPPurchaseInfo

Enum constants used as keys for sending purchase information during in-app purchases and post-install analytics tracking.

PRODUCT_ID : Product ID for the product (unique SKU id assigned for every product). PRODUCT_TITLE: Title of the product. PRODUCT_DESCRIPTION: Description of the product. PRODUCT_PRICE: Price of the product purchased (e.g., "$0.99"). PRODUCT_CURRENCY_CODE: Currency code of the product purchased (e.g., "USD" or "INR"). GOOGLE_PURCHASE_DATA: Only applicable to Google Play purchases. This value is obtained from the purchase object received from Google Play upon purchase. GOOGLE_PURCHASE_SIGNATURE: Only applicable to Google Play purchases. This value is obtained from the purchase object received from Google Play upon purchase. AMAZON_PURCHASE_TOKEN: Only applicable to Amazon purchases. This value is the 'purchase token' from the receipt object of the purchase made through Amazon. AMAZON_USER_ID: User ID associated with the product purchase (only applicable to Amazon purchases).

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.