Packagenet.flashplusplus.Snapdragon.InAppStore
Classpublic class SDProduct
InheritanceSDProduct Inheritance Object

SDProduct is a descriptor class. It holds information about the product can be obtained through in-app purchase.



Public Properties
 PropertyDefined By
  localizedDescription : String
[read-only] The description of the product.
SDProduct
  localizedTitle : String
[read-only] The name of the product.
SDProduct
  price : Number
[read-only] The cost of the product.
SDProduct
  productionIdentifier : String
[read-only] A string that identifies the product to the Apple App Store.
SDProduct
  purchased : Boolean
[read-only] It is true, if the product is purchased.
SDProduct
Public Methods
 MethodDefined By
  
SDProduct(identifier:String, localizedDescription:String, localizedTitle:String, price:Number, purchased:Boolean)
Constructor of SDProduct class.
SDProduct
Property Detail
localizedDescriptionproperty
localizedDescription:String  [read-only]

The description of the product.


Implementation
    public function get localizedDescription():String
localizedTitleproperty 
localizedTitle:String  [read-only]

The name of the product.


Implementation
    public function get localizedTitle():String
priceproperty 
price:Number  [read-only]

The cost of the product.


Implementation
    public function get price():Number
productionIdentifierproperty 
productionIdentifier:String  [read-only]

A string that identifies the product to the Apple App Store.


Implementation
    public function get productionIdentifier():String
purchasedproperty 
purchased:Boolean  [read-only]

It is true, if the product is purchased. It contains valid value only if the product is non consumable.


Implementation
    public function get purchased():Boolean
Constructor Detail
SDProduct()Constructor
public function SDProduct(identifier:String, localizedDescription:String, localizedTitle:String, price:Number, purchased:Boolean)

Constructor of SDProduct class.

Parameters
identifier:String — is the string that identifies the product to the Apple App Store.
 
localizedDescription:String — is the description of the product.
 
localizedTitle:String — is the name of the product.
 
price:Number
 
purchased:Boolean