|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rimlib.blackberry.api.paymentsdk.PurchaseArguments
public class PurchaseArguments
Represents a set of arguments used for initiating a digital good purchase using
PaymentEngine.purchase(PurchaseArguments).
Instances of this class must be constructed with a PurchaseArgumentsBuilder.
Refer to PurchaseArgumentsBuilder for an in-depth explanation of how
to set the arguments and how they are used in the purchase flow.
PurchaseArgumentsBuilder| Field Summary | |
|---|---|
protected java.util.Hashtable |
_additionalProperties
|
| Constructor Summary | |
|---|---|
protected |
PurchaseArguments(java.lang.String digitalGoodId,
java.lang.String digitalGoodSku,
java.lang.String digitalGoodName,
java.lang.String purchasingAppName,
Bitmap purchasingAppIcon,
java.lang.String metadata,
java.util.Hashtable additionalProperties)
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getAdditionalProperties()
|
java.lang.String |
getDigitalGoodId()
Retrieves the ID of the digital good being purchased. |
java.lang.String |
getDigitalGoodName()
Retrieves the name of the digital good being purchased. |
java.lang.String |
getDigitalGoodSku()
Retrieves the SKU of the digital good being purchased. |
java.lang.String |
getMetadata()
Retrieves the metadata associated with the purchase. |
Bitmap |
getPurchasingAppIcon()
Retrieves the icon of the application requesting the purchase. |
java.lang.String |
getPurchasingAppName()
Retrieves the name of the application requesting the purchase. |
java.lang.String |
getValue(java.lang.String tag)
Retrieves value associated with the tag or key passed in. |
java.lang.String |
getVendorContentId()
Retrieves value of the PID (from the vendor's separate BlackBerry ID for this user), provided by the vendor. |
java.lang.String |
getVendorCustomerId()
Retrieves value of the PID (from the vendor's separate BlackBerry ID for this user), provided by the vendor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Hashtable _additionalProperties
| Constructor Detail |
|---|
protected PurchaseArguments(java.lang.String digitalGoodId,
java.lang.String digitalGoodSku,
java.lang.String digitalGoodName,
java.lang.String purchasingAppName,
Bitmap purchasingAppIcon,
java.lang.String metadata,
java.util.Hashtable additionalProperties)
| Method Detail |
|---|
public java.util.Hashtable getAdditionalProperties()
public java.lang.String getDigitalGoodId()
public java.lang.String getDigitalGoodSku()
public java.lang.String getDigitalGoodName()
public java.lang.String getPurchasingAppName()
public Bitmap getPurchasingAppIcon()
public java.lang.String getMetadata()
public java.lang.String getValue(java.lang.String tag)
public java.lang.String getVendorCustomerId()
public java.lang.String getVendorContentId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||