com.nokia.mid.payment
Class IAPClientProductData

java.lang.Object
  extended by com.nokia.mid.payment.IAPClientProductData

public class IAPClientProductData
extends java.lang.Object

Class for holding purchaseable or restorable product specific data. This class contains valid data if the status returned in the productDataReceived() callback has value OK. This provides get methods to retrieve each of the product related information.


Field Summary
static int NOKIA_DRM
          The item is DRM protected by Nokia.
static int OTHER_DRM
          The DRM protection type is other than Nokia DRM or it is not available.
 
Method Summary
 int getDrmProtection()
          Returns the type of Drm protection.
 java.lang.String getLongDescription()
          Returns the long description of the product in 500 characters.
 java.lang.String getPrice()
          Returns the price of the product including currency, string to be used as is.
 java.lang.String getProductId()
          Returns the productID of the purchaseable item.
 java.lang.String getShortDescription()
          Returns the short description of the product in 30 characters.
 java.lang.String getTitle()
          Returns the name of the product in 16 characters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OTHER_DRM

public static final int OTHER_DRM
The DRM protection type is other than Nokia DRM or it is not available. The publisher has the responsibility for the access control and restriction mechanisms of use.

See Also:
Constant Field Values

NOKIA_DRM

public static final int NOKIA_DRM
The item is DRM protected by Nokia. The item can be restored using IAP API.

See Also:
Constant Field Values
Method Detail

getProductId

public java.lang.String getProductId()
Returns the productID of the purchaseable item.


getTitle

public java.lang.String getTitle()
Returns the name of the product in 16 characters.


getShortDescription

public java.lang.String getShortDescription()
Returns the short description of the product in 30 characters.


getLongDescription

public java.lang.String getLongDescription()
Returns the long description of the product in 500 characters.


getPrice

public java.lang.String getPrice()
Returns the price of the product including currency, string to be used as is.


getDrmProtection

public int getDrmProtection()
Returns the type of Drm protection.

Returns:
OTHER_DRM - Indicates non-Nokia DRM or not available. NOKIA_DRM - The item is DRM protected by Nokia.


Copyright © 2011 Nokia Corporation. All rights reserved.

Nokia is registered trademark of Nokia Corporation. Java and all Java-based marks are trademarks or registered trademarks of Oracle Corporation. Other product and company names mentioned herein may be trademarks or trade names of their respective owners. This document is confidential information of Nokia Corporation.

Disclaimer
The information in this document is provided "as is," with no warranties whatsoever, including any warranty of merchantability, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, specification, or sample. Furthermore, information provided in this document is preliminary, and may be changed substantially prior to final release.

Nokia Corporation disclaims all liability, including liability for infringement of any proprietary rights, relating to this document and implementation of any information presented in this document.

Nokia Corporation retains the right to make changes to this document at any time, without notice.

License
Subject to above disclaimer, a license is hereby granted to use this documentation solely under existing Limited License Agreement and non-disclosure agreement between the companies for the agreed application development for Series 40 Nokia phones. No other licenses e.g. to any intellectual property rights are granted herein. Any use of the screen shots of this documentation, including any icons thereof, is subject to Nokia's prior written approval.