inAppPurchase Type
⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ✔
In-app purchases on Mac App Store.Process: Main
Static members
| Static member |
Description
|
Full Usage:
inAppPurchase.canMakePayments ()
Returns: bool
Modifiers: inline |
whether a user can make a payment.
|
Full Usage:
inAppPurchase.finishAllTransactions ()
Modifiers: inline |
Completes all pending transactions. |
Full Usage:
inAppPurchase.finishTransactionByDate date
Parameters:
string
Modifiers: inline |
Completes the pending transactions corresponding to the date.
|
|
|
Full Usage:
inAppPurchase.getReceiptURL ()
Returns: string
Modifiers: inline |
the path to the receipt.
|
Full Usage:
inAppPurchase.offTransactionsUpdated handler
Parameters:
IOnTransactionsUpdated -> unit
Modifiers: inline |
Emitted when one or more transactions have been updated.
|
Full Usage:
inAppPurchase.offTransactionsUpdated handler
Parameters:
Event -> Transaction[] -> unit
Modifiers: inline |
Emitted when one or more transactions have been updated.
|
Full Usage:
inAppPurchase.onTransactionsUpdated handler
Parameters:
IOnTransactionsUpdated -> unit
Modifiers: inline |
Emitted when one or more transactions have been updated.
|
Full Usage:
inAppPurchase.onTransactionsUpdated handler
Parameters:
Event -> Transaction[] -> unit
Modifiers: inline |
Emitted when one or more transactions have been updated.
|
Full Usage:
inAppPurchase.onceTransactionsUpdated handler
Parameters:
IOnTransactionsUpdated -> unit
Modifiers: inline |
Emitted when one or more transactions have been updated.
|
Full Usage:
inAppPurchase.onceTransactionsUpdated handler
Parameters:
Event -> Transaction[] -> unit
Modifiers: inline |
Emitted when one or more transactions have been updated.
|
|
|
Full Usage:
inAppPurchase.restoreCompletedTransactions ()
Modifiers: inline |
Restores finished transactions. This method can be called either to install purchases on additional devices, or to restore purchases for an application that the user deleted and reinstalled.The payment queue delivers a new transaction for each previously completed transaction that can be restored. Each transaction includes a copy of the original transaction. |
fable-electron-docs-api