mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Payment should be part of Transaction
This follows The SKPayment API, and makes our JS wrappers easier to implement.
This commit is contained in:
@@ -15,9 +15,6 @@ Emitted when a transaction has been updated.
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `payment` Object
|
||||
* `productIdentifier` String
|
||||
* `quantity` Integer
|
||||
* `transaction` Object
|
||||
* `transactionIdentifier` String
|
||||
* `transactionDate` String
|
||||
@@ -25,6 +22,9 @@ Returns:
|
||||
* `transactionState` String - The transaction sate (`"purchasing"`, `"purchased"`, `"failed"`, `"restored"`, or `"deferred"`)
|
||||
* `errorCode` Integer
|
||||
* `errorMessage` String
|
||||
* `payment` Object
|
||||
* `productIdentifier` String
|
||||
* `quantity` Integer
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user