public static interface AsyncService.AccountCallback
Modifier and Type | Method and Description |
---|---|
void |
onAccountError(int code,
java.lang.String message,
java.lang.Exception e) |
void |
onAccountOK(long customerId,
java.lang.String customer)
The successful completion of the transaction means that the user
is authenticated and can do transactions in the customer account
specified by the method parameters.
|
void onAccountOK(long customerId, java.lang.String customer)
customerId
- numerical id of the account the user has access tocustomer
- name of the account the user has access tovoid onAccountError(int code, java.lang.String message, java.lang.Exception e)
code
- HTTP response codemessage
- error messagee
- any Exception thrown