|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PriceSet
Class that encapsulates a set of string values representing prices for subscription goods with the set of tags to retrieve them. For non-subscription purchases the price is retrieved with the PRICE key. For subscription purchase the price is retrieved with the keys prepended with SUBSCRIPTION.
| Field Summary | |
|---|---|
static java.lang.String |
PRICE
The constant PRICE. |
static java.lang.String |
SUBSCRIPTION_INITIAL_PERIOD
The constant SUBSCRIPTION_INITIAL_PERIOD. |
static java.lang.String |
SUBSCRIPTION_INITIAL_PRICE
The constant SUBSCRIPTION_INITIAL_PRICE. |
static java.lang.String |
SUBSCRIPTION_PERIOD_NAME
The constant SUBSCRIPTION_PERIOD_NAME. |
static java.lang.String |
SUBSCRIPTION_RENEWAL_PRICE
The constant SUBSCRIPTION_RENEWAL_PRICE. |
| Fields inherited from interface net.rimlib.blackberry.api.paymentsdk.Result |
|---|
RETURN_CODE, STATUS_MESSAGE |
| Fields inherited from interface net.rimlib.blackberry.api.paymentsdk.ResultCodes |
|---|
REASON_APP_WORLD_NOT_CORRECT_VERSION, REASON_ARGUMENTS_ERROR, REASON_CANCELED, REASON_GOOD_NOT_FOUND, REASON_ILLEGAL_APPLICATION, REASON_NONE, REASON_SERVER_ERROR, REASON_UNKNOWN |
| Method Summary | |
|---|---|
java.lang.String |
getPriceSetValue(java.lang.String key)
Returns the string representing the value defined by the keys described above. |
java.lang.String |
toString()
|
| Methods inherited from interface net.rimlib.blackberry.api.paymentsdk.Result |
|---|
getFailureReason, getStatusMessage, isSuccessful |
| Field Detail |
|---|
static final java.lang.String PRICE
static final java.lang.String SUBSCRIPTION_INITIAL_PRICE
static final java.lang.String SUBSCRIPTION_RENEWAL_PRICE
static final java.lang.String SUBSCRIPTION_PERIOD_NAME
static final java.lang.String SUBSCRIPTION_INITIAL_PERIOD
| Method Detail |
|---|
java.lang.String getPriceSetValue(java.lang.String key)
key - the key to retrieve the data corresponding one of the four predefined values.
java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||