|
|
|
|
- Properties specific to inAppProduct variables
- Functions that use the inAppProduct type
inAppProduct (Type of variable) In french: inAppProduit
The inAppProduct type is used to define the advanced characteristics of a product or subscription for an In-App purchase. The characteristics of this product can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MyProducts is array of inAppProduct // Retrieve via inAppProductInfo // ... FOR I = 1 _TO_ MyProducts.Count LooperAddLine(LOOP_Products, MyProducts[I].Caption, MyProducts[I].Description) END
Remarks Properties specific to inAppProduct variables The following properties can be used to handle an In-App product or an In-App subscription: | | | Property name | Type used | Effect |
---|
Caption | Character string | Caption or title of the product or subscription. This property is read-only. | Description | Character string | Product description. This property is read-only. | Identifier | Character string | Identifier of product or subscription in the store (iTunes Connect or Google Play Store). This property is read-only. | Price | Character string | - Price of the product in the current currency, formatted with the mask defined by the phone.
- Price of the subscription in the current currency, formatted with the mask defined by the phone.
This property is read-only. | | Integer constant | Type of product: - inAppSubscription: Subscription.
- inAppProduct: Consumable and non-consumable product.
This property is read-only. |
Functions that use the inAppProduct type The following functions are used to handle the inAppProduct variables:
| | inAppConsumeProduct | Used to consume, in an application, a product that was previously purchased by the user. | inAppListProductInfo | Retrieves, from the store, information about the "In-App" products associated with the application. | inAppPurchaseProduct | Sends a request for purchasing an "In-App" product associated with the application. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|