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+ |
API | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
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 ID | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
<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+ |
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:42 GMT-0500 (EST)