Transaction Object
transactionIdentifierstring - A string that uniquely identifies a successful payment transaction.transactionDatestring - The date the transaction was added to the App Store’s payment queue.originalTransactionIdentifierstring - The identifier of the restored transaction by the App Store.transactionStatestring - The transaction state, can bepurchasing,purchased,failed,restoredordeferred.errorCodeInteger - The error code if an error occurred while processing the transaction.errorMessagestring - The error message if an error occurred while processing the transaction.paymentObjectproductIdentifierstring - The identifier of the purchased product.quantityInteger - The quantity purchased.applicationUsernamestring - An opaque identifier for the user’s account on your system.paymentDiscountPaymentDiscount (optional) - The details of the discount offer to apply to the payment.