Interface ISN_iSKPaymentTransaction
A payment transaction is created whenever a payment is added to the payment queue. Transactions are delivered to your app when the App Store has finished processing the payment. Completed transactions provide a receipt and transaction identifier that your app can use to save a permanent record of the processed payment.
Namespace: SA.iOS.StoreKit
Assembly: cs.temp.dll.dll
Syntax
public interface ISN_iSKPaymentTransaction
Properties
Date
The date the transaction was added to the App Store’s payment queue.
The contents of this property are undefined except when State is set to Purchased or Restored.
Declaration
DateTime Date { get; }
Property Value
Type | Description |
---|---|
DateTime |
OriginalTransaction
The transaction that was restored by the App Store.
The contents of this property are undefined except when State is set to Restored. When a transaction is restored, the current transaction holds a new transaction identifier, receipt, and so on. Your application will read this property to retrieve the restored transaction.
Declaration
ISN_iSKPaymentTransaction OriginalTransaction { get; }
Property Value
Type | Description |
---|---|
ISN_iSKPaymentTransaction | The original transaction. |
Product
Gets the associated product with this transaction.
Declaration
ISN_SKProduct Product { get; }
Property Value
Type | Description |
---|---|
ISN_SKProduct |
ProductIdentifier
A string used to identify a product that can be purchased from within your application.
Declaration
string ProductIdentifier { get; }
Property Value
Type | Description |
---|---|
System.String |
State
An object describing the error that occurred while processing the transaction.
Declaration
ISN_SKPaymentTransactionState State { get; }
Property Value
Type | Description |
---|---|
ISN_SKPaymentTransactionState |
TransactionIdentifier
A string that uniquely identifies a successful payment transaction.
The contents of this property are undefined except when State is set to Purchased or Restored. The transactionIdentifier is a string that uniquely identifies the processed payment. Your application may wish to record this string as part of an audit trail for App Store purchases. See In-App Purchase Programming Guide for more information.
The value of this property corresponds to the Transaction Identifier property in the receipt .
Declaration
string TransactionIdentifier { get; }
Property Value
Type | Description |
---|---|
System.String |