|
|
|
|
|
- Properties specific to inAppProduct variables
- Functions that use the inAppProduct type
inAppProduct (Variable type) In french: inAppProduit
The inAppProduct type is used to define the advanced characteristics of a product or subscription for an In-App purchase. You can define and change the characteristics of this product using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MesProduits is array of inAppProduct
FOR i = 1 _TO_ MesProduits.Count
LooperAddLine(ZR_Produits, MesProduits[i].Caption, MesProduits[i].Description)
END
Properties 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: - inAppAbonnement: Subscription.
- inAppProduct: Consumable and non-consumable products.
This property is read-only. |
Remarks Functions that use the inAppProduct type The following functions use 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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|