public class CustomerProfileClientImpl extends OneAPIBaseClientImpl implements CustomerProfileClient
CHARSET, JSON_CONTENT_TYPE, LOGGER, URL_ENCODED_CONTENT_TYPE| Constructor and Description |
|---|
CustomerProfileClientImpl(Configuration configuration,
LoginListener loginListner,
LogoutListener logoutListener) |
| Modifier and Type | Method and Description |
|---|---|
AccountBalance |
getAccountBalance()
Get logged user account balance
|
CustomerProfile |
getCustomerProfile()
Gets logged user customer profile
|
CustomerProfile |
getCustomerProfileByUserId(int id)
Gets customer profile for specific userId
|
CustomerProfile[] |
getCustomerProfiles()
Gets all users for currently logged user.
|
LoginResponse |
login()
User Login
|
void |
logout()
User Logout
|
convertJSONToObject, convertJSONToObject, encodeURLParam, executeMethod, executeMethod, executeMethodAsync, getConfiguration, getIdFromResourceUrlpublic CustomerProfileClientImpl(Configuration configuration, LoginListener loginListner, LogoutListener logoutListener)
public LoginResponse login()
CustomerProfileClientlogin in interface CustomerProfileClientpublic void logout()
CustomerProfileClientlogout in interface CustomerProfileClientpublic CustomerProfile getCustomerProfile()
CustomerProfileClientgetCustomerProfile in interface CustomerProfileClientpublic CustomerProfile[] getCustomerProfiles()
CustomerProfileClientgetCustomerProfiles in interface CustomerProfileClientpublic CustomerProfile getCustomerProfileByUserId(int id)
CustomerProfileClientgetCustomerProfileByUserId in interface CustomerProfileClientpublic AccountBalance getAccountBalance()
CustomerProfileClientgetAccountBalance in interface CustomerProfileClientCopyright © 2014. All rights reserved.