|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResultCodes
Constants returned from PaymentException.getFailureReason() when a call fails.
| Field Summary | |
|---|---|
static int |
REASON_APP_WORLD_NOT_CORRECT_VERSION
Constant that is returned from the PaymentException.getFailureReason() method when a call failed because
the version of App World on the device is not the required version. |
static int |
REASON_ARGUMENTS_ERROR
Constant that is returned from the PaymentException.getFailureReason() method when a call failed because
the digital arguments passed to the Payment Service SDK were not correct. |
static int |
REASON_CANCELED
Constant that is returned from the PaymentException.getFailureReason() method when a result failed because
it was canceled by the user. |
static int |
REASON_GOOD_NOT_FOUND
Constant that is returned from the PaymentException.getFailureReason() method when a call failed because
the digital good being purchased was not found on the App World server. |
static int |
REASON_ILLEGAL_APPLICATION
Constant that is returned from the PaymentException.getFailureReason() method when a result failed because
the calling application was not installed using App World. |
static int |
REASON_NONE
Constant that is returned from the PaymentException.getFailureReason() method when a result is successful. |
static int |
REASON_SERVER_ERROR
Constant that is returned from the PaymentException.getFailureReason() method when a result failed because
of a server error. |
static int |
REASON_UNKNOWN
Constant that is returned from the PaymentException.getFailureReason() method when a result failed for an
unknown reason. |
| Field Detail |
|---|
static final int REASON_NONE
PaymentException.getFailureReason() method when a result is successful.
static final int REASON_UNKNOWN
PaymentException.getFailureReason() method when a result failed for an
unknown reason.
static final int REASON_CANCELED
PaymentException.getFailureReason() method when a result failed because
it was canceled by the user.
static final int REASON_SERVER_ERROR
PaymentException.getFailureReason() method when a result failed because
of a server error.
static final int REASON_ILLEGAL_APPLICATION
PaymentException.getFailureReason() method when a result failed because
the calling application was not installed using App World.
static final int REASON_GOOD_NOT_FOUND
PaymentException.getFailureReason() method when a call failed because
the digital good being purchased was not found on the App World server.
static final int REASON_APP_WORLD_NOT_CORRECT_VERSION
PaymentException.getFailureReason() method when a call failed because
the version of App World on the device is not the required version. The developer receiving this error
should call PaymentEngine.upDateAppWorld() after catching and handling this error. This will leave your
application and launch the browser to the AppWorld download page. Create user messages and flow appropriate for
your application.
static final int REASON_ARGUMENTS_ERROR
PaymentException.getFailureReason() method when a call failed because
the digital arguments passed to the Payment Service SDK were not correct.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||