Purchase

This object encapsulates the attributes of a purchase.

It may be aquired by calling to one of the blackberry.payment methods.


Supported Platform(s)

- BlackBerry OS 5.0+
- BlackBerry PlayBook 1.0+
View Supported Platform Table
APIBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
date Y Y Y Y Y   
digitalGoodID Y Y Y Y Y   
digitalGoodSKU Y Y Y Y Y   
licenseKey Y Y Y Y Y   
metaData Y Y Y Y Y   
transactionID Y Y Y Y Y   

Configuration Document Settings

To use all of the API described for this object, you must ensure the following settings are in your configuration document:

You must declare the feature element(s) below in your configuration document:

Feature IDBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
<feature id="blackberry.payment" /> Y Y Y Y Y   

Permission Elements (PlayBook and BlackBerry 10+)
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.

Properties

String date
String digitalGoodID
String digitalGoodSKU
String licenseKey
String metaData
String transactionID

Properties

String date


The Epoch time represention of the date this purchase was made.


Supported Platforms
 - BlackBerry OS 5.0+
 - BlackBerry PlayBook 1.0+

String digitalGoodID


The ID of the purchased digital good.


Supported Platforms
 - BlackBerry OS 5.0+
 - BlackBerry PlayBook 1.0+

String digitalGoodSKU


The SKU of the purchased digital good.


Supported Platforms
 - BlackBerry OS 5.0+
 - BlackBerry PlayBook 1.0+

String licenseKey


Represents the license key for this purchase, or null if the purchased digital good does not have a license key.


Supported Platforms
 - BlackBerry OS 5.0+
 - BlackBerry PlayBook 1.0+

String metaData


The metadata for this purchase, or null if no metadata was included with the purchase.


Supported Platforms
 - BlackBerry OS 5.0+
 - BlackBerry PlayBook 1.0+

String transactionID


The transaction ID for this purchase.


Supported Platforms
 - BlackBerry OS 5.0+
 - BlackBerry PlayBook 1.0+

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:42 GMT-0500 (EST)