Packagecom.adobe.ane.productStore
Classpublic class Transaction
InheritanceTransaction Inheritance Object



Public Properties
 PropertyDefined By
  date : Date
[read-only] Date on which transaction is made.
Transaction
  error : String
[read-only] Error code.
Transaction
  identifier : String
[read-only] Identifier of the transaction.
Transaction
  originalTransaction : Transaction
[read-only] Original Transaction record in case of restored transaction.
Transaction
  productIdentifier : String
[read-only] Identifier of the product.
Transaction
  productQuantity : int
[read-only] Number of products.
Transaction
  receipt : String
[read-only] Receipt confirming the transaction.
Transaction
Public Methods
 MethodDefined By
  
Transaction(productIdentifier:String, productQuantity:int, identifier:String, date:Date, receipt:String, error:String, originalTransaction:Transaction = null)
Creates a Transaction instance.
Transaction
Property Detail
dateproperty
date:Date  [read-only]

Date on which transaction is made.


Implementation
    public function get date():Date
errorproperty 
error:String  [read-only]

Error code.


Implementation
    public function get error():String
identifierproperty 
identifier:String  [read-only]

Identifier of the transaction.


Implementation
    public function get identifier():String
originalTransactionproperty 
originalTransaction:Transaction  [read-only]

Original Transaction record in case of restored transaction.


Implementation
    public function get originalTransaction():Transaction
productIdentifierproperty 
productIdentifier:String  [read-only]

Identifier of the product.


Implementation
    public function get productIdentifier():String
productQuantityproperty 
productQuantity:int  [read-only]

Number of products.


Implementation
    public function get productQuantity():int
receiptproperty 
receipt:String  [read-only]

Receipt confirming the transaction.


Implementation
    public function get receipt():String
Constructor Detail
Transaction()Constructor
public function Transaction(productIdentifier:String, productQuantity:int, identifier:String, date:Date, receipt:String, error:String, originalTransaction:Transaction = null)

Creates a Transaction instance.

Parameters
productIdentifier:String — Identifier of the product.
 
productQuantity:int — Number of products.
 
identifier:String — Identifier of the transaction.
 
date:Date — Date on which transaction is made.
 
receipt:String — Receipt confirming the transaction.
 
error:String — Error code.
 
originalTransaction:Transaction (default = null) — Original Transaction record in case of restored transaction.