Packagenet.flashplusplus.Snapdragon.InAppStore
Classpublic class SDResponse
InheritanceSDResponse Inheritance Object

SDResponse contains the result of the product identifier validation.



Public Properties
 PropertyDefined By
  invalidIdentifiers : Vector.<String>
[read-only] A vector contains the invalid identifiers not found in the store.
SDResponse
  products : Vector.<SDProduct>
[read-only] A vector contains the valid product objects found in the store.
SDResponse
  storageUpToDate : Boolean
[read-only] A Boolean to tell, whether the restoration of purchases needed or not.
SDResponse
Public Methods
 MethodDefined By
  
SDResponse(products:Vector.<SDProduct>, invalidIdentifier:Vector.<String>, storageUpToDate:Boolean)
Constructor of the SDResponse class.
SDResponse
Property Detail
invalidIdentifiersproperty
invalidIdentifiers:Vector.<String>  [read-only]

A vector contains the invalid identifiers not found in the store.


Implementation
    public function get invalidIdentifiers():Vector.<String>
productsproperty 
products:Vector.<SDProduct>  [read-only]

A vector contains the valid product objects found in the store.


Implementation
    public function get products():Vector.<SDProduct>
storageUpToDateproperty 
storageUpToDate:Boolean  [read-only]

A Boolean to tell, whether the restoration of purchases needed or not. It contains false value after the first installation on the device. If it is false, call the restoreTransactions function of SDStoreManager object to retrieve the already purchased non consumable products from the App Store.


Implementation
    public function get storageUpToDate():Boolean
Constructor Detail
SDResponse()Constructor
public function SDResponse(products:Vector.<SDProduct>, invalidIdentifier:Vector.<String>, storageUpToDate:Boolean)

Constructor of the SDResponse class.

Parameters
products:Vector.<SDProduct> — is the vector of valid product objects.
 
invalidIdentifier:Vector.<String> — is the vector of the product identifiers not found on the server. In normal case, this vector should be empty.
 
storageUpToDate:Boolean