mirror of
https://github.com/defold/extension-iap
synced 2025-06-27 02:17:51 +02:00
Fixed YAML format errors
This commit is contained in:
parent
40648f4773
commit
c0e1a9aef1
@ -21,11 +21,11 @@
|
|||||||
members:
|
members:
|
||||||
- name: request_id
|
- name: request_id
|
||||||
type: string
|
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.
|
set for this transaction. The id becomes attached to the payment within the Graph API.
|
||||||
- name: token
|
- name: token
|
||||||
type: string
|
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()
|
the subscriptions table returned when calling iap.list()
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
@ -132,22 +132,22 @@
|
|||||||
- name: price
|
- name: price
|
||||||
type: number
|
type: number
|
||||||
desc: The price of the product.
|
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
|
- name: price_string
|
||||||
type: string
|
type: string
|
||||||
desc: The price of the product, as a formatted string (amount and currency symbol).
|
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
|
- name: currency_code
|
||||||
type: string
|
type: string
|
||||||
desc: [icon:ios] [icon:googleplay] [icon:facebook] The currency code.
|
desc: The currency code.
|
||||||
[icon:googleplay]: The merchant's locale, instead of the user's
|
For Google Play [icon:googleplay] this is the merchant's locale, instead of the user's.
|
||||||
[icon:googleplay]: Used only for in-app products
|
For Google Play [icon:googleplay] this is used only for in-app products
|
||||||
|
|
||||||
- name: subscriptions
|
- name: subscriptions
|
||||||
type: table
|
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.
|
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
|
See https://developer.android.com/reference/com/android/billingclient/api/ProductDetails.PricingPhase
|
||||||
members:
|
members:
|
||||||
@ -269,36 +269,36 @@
|
|||||||
|
|
||||||
- name: original_trans
|
- name: original_trans
|
||||||
type: string
|
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
|
- name: original_json
|
||||||
type: string
|
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
|
- name: signature
|
||||||
type: string
|
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
|
- name: request_id
|
||||||
type: string
|
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
|
- name: user_id
|
||||||
type: string
|
type: string
|
||||||
desc: Amazon Pay only[icon:amazon]. The user ID.
|
desc: Amazon Pay only [icon:amazon]. The user ID.
|
||||||
|
|
||||||
- name: is_sandbox_mode
|
- name: is_sandbox_mode
|
||||||
type: boolean
|
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.
|
This only allows interactions with the Amazon AppTester. Use this mode only for testing locally.
|
||||||
|
|
||||||
- name: cancel_date
|
- name: cancel_date
|
||||||
type: string
|
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
|
- name: canceled
|
||||||
type: string
|
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
|
- name: error
|
||||||
type: table
|
type: table
|
||||||
|
Loading…
x
Reference in New Issue
Block a user