-
Notifications
You must be signed in to change notification settings - Fork 4
API
Baggers edited this page Sep 14, 2016
·
8 revisions
These are actually just plain old objects with fields, but we give them names here for convenience.
One of the following strings:
- "Purchasing"
- "Purchased"
- "Failed"
- "Restored"
- "Deferred"
-
productIdentifier:string -
quantity:int -
applicationUsername:string
An object with the following fields
-
payment: ASKPaymentInfoobject -
transactionState: aTransactionStatestring -
transactionIdentifier:string -
transactionDateUTC:stringUTC time in ISO-8601 format -
error: null or astring
An object with the following fields
-
quantity:int -
productIdentifier:string -
transactionIdentifier:string -
originalTransactionIdentifier: `string -
purchaseDate:stringUTC time in ISO-8601 format -
originalPurchaseDate:stringUTC time in ISO-8601 format -
subscriptionExpirationDate:stringUTC time in ISO-8601 format -
cancellationDate:stringUTC time in ISO-8601 format -
webOrderLineItemID:int
An object with the following fields
-
price:string -
priceLocale:string -
localizedDescription:string -
productIdentifier:string -
localizedTitle:string
An object with the following fields:
-
valid: an array of SKProductInformation. These are the successfully validated products -
invalid: an array of strings. These are the ids of the invalid products
The string will be success on success and can be safely ignored