From c0e1a9aef1bcf324c93a945b5e4b2c5917e5ba86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Fri, 23 Sep 2022 16:21:27 +0200 Subject: [PATCH] Fixed YAML format errors --- extension-iap/api/iap.script_api | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/extension-iap/api/iap.script_api b/extension-iap/api/iap.script_api index 00c4775..31efacb 100644 --- a/extension-iap/api/iap.script_api +++ b/extension-iap/api/iap.script_api @@ -21,11 +21,11 @@ members: - name: request_id type: string - desc: Facebook only. [icon:facebook] Optional custom unique request id to + desc: Facebook only [icon:facebook]. Optional custom unique request id to set for this transaction. The id becomes attached to the payment within the Graph API. - name: token type: string - desc: [icon:googleplay] Which subscription offer to use when buying a subscription. The token can be retrieved from + desc: Google Play only [icon:googleplay]. Which subscription offer to use when buying a subscription. The token can be retrieved from the subscriptions table returned when calling iap.list() examples: @@ -132,22 +132,22 @@ - name: price type: number desc: The price of the product. - [icon:googleplay]: Used only for in-app products + For Google Play [icon:googleplay] this is used only for in-app products - name: price_string type: string desc: The price of the product, as a formatted string (amount and currency symbol). - [icon:googleplay]: Used only for in-app products + For Google Play [icon:googleplay] this is used only for in-app products - name: currency_code type: string - desc: [icon:ios] [icon:googleplay] [icon:facebook] The currency code. - [icon:googleplay]: The merchant's locale, instead of the user's - [icon:googleplay]: Used only for in-app products + desc: The currency code. + For Google Play [icon:googleplay] this is the merchant's locale, instead of the user's. + For Google Play [icon:googleplay] this is used only for in-app products - name: subscriptions type: table - desc: [icon:googleplay] List of subscription offers. + desc: Only available for Google Play [icon:googleplay]. List of subscription offers. Each offer contains a token and a list of price and billing options. See https://developer.android.com/reference/com/android/billingclient/api/ProductDetails.PricingPhase members: @@ -269,36 +269,36 @@ - name: original_trans type: string - desc: Apple only[icon:apple]. The original transaction. This field is only set when `state` is `TRANS_STATE_RESTORED`. + desc: Apple only [icon:apple]. The original transaction. This field is only set when `state` is `TRANS_STATE_RESTORED`. - name: original_json type: string - desc: Android only[icon:android]. The purchase order details in JSON format. + desc: Android only [icon:android]. The purchase order details in JSON format. - name: signature type: string - desc: Google Play only[icon:googleplay]. A string containing the signature of the purchase data that was signed with the private key of the developer. + desc: Google Play only [icon:googleplay]. A string containing the signature of the purchase data that was signed with the private key of the developer. - name: request_id type: string - desc: Facebook only[icon:facebook]. This field is set to the optional custom unique request id `request_id` if set in the `iap.buy()` call parameters. + desc: Facebook only [icon:facebook]. This field is set to the optional custom unique request id `request_id` if set in the `iap.buy()` call parameters. - name: user_id type: string - desc: Amazon Pay only[icon:amazon]. The user ID. + desc: Amazon Pay only [icon:amazon]. The user ID. - name: is_sandbox_mode type: boolean - desc: Amazon Pay only[icon:amazon]. If `true`, the SDK is running in Sandbox mode. + desc: Amazon Pay only [icon:amazon]. If `true`, the SDK is running in Sandbox mode. This only allows interactions with the Amazon AppTester. Use this mode only for testing locally. - name: cancel_date type: string - desc: Amazon Pay only[icon:amazon]. The cancel date for the purchase. This field is only set if the purchase is canceled. + desc: Amazon Pay only [icon:amazon]. The cancel date for the purchase. This field is only set if the purchase is canceled. - name: canceled type: string - desc: Amazon Pay only[icon:amazon]. Is set to `true` if the receipt was canceled or has expired; otherwise `false`. + desc: Amazon Pay only [icon:amazon]. Is set to `true` if the receipt was canceled or has expired; otherwise `false`. - name: error type: table