com.anywherecommerce.android.sdk
Class User
-
java.lang.Object
-
com.anywherecommerce.android.sdk.User
-
Direct Known Subclasses:PropayUser-
public abstract class <span class="typeNameLabel">User</span> extends java.lang.ObjectCreated by Admin on 7/13/2017.
Field Summary
Modifier and TypeField and Description`protected java.util.Date``<span class="memberNameLink">
authenticationExpiryDate protected
configuration protected boolean``
isAnonymous protected boolean``
isAuthenticated protected java.lang.String``
password protected java.lang.String``
Constructor Summary
Constructor and Description`<span class="memberNameLink">
User()`
Method Summary
Modifier and TypeMethod and Description`abstract void``<span class="memberNameLink">
AuthenticationListener listener) java.util.Date``
getConfiguration() protected java.lang.String``
getConfigurationFilename() java.lang.String``
getUsername() boolean``
isAnonymous() boolean``
isAuthenticated() abstract void``
logout() void``
setAuthenticated(boolean authenticated) void``
setAuthenticationExpiryDate(java.util.Date authenticationExpiryDate) void````
setCredentials(java.lang.String username,
java.lang.String password)
` `void
setIsAnonymous(boolean isAnonymous)`
Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Field Detail
username
`protected java.lang.String username`
password
`protected java.lang.String password`
authenticationExpiryDate
`protected java.util.Date authenticationExpiryDate`
configuration
`protected
Configuration configuration`
isAuthenticated
`protected boolean isAuthenticated`
isAnonymous
`protected boolean isAnonymous`
Constructor Detail
User
`public User()`
Method Detail
getConfiguration
`public
Configuration getConfiguration()`
getConfigurationFilename
`protected java.lang.String getConfigurationFilename()`
isAuthenticated
`public boolean isAuthenticated()`
setAuthenticated
`public void setAuthenticated(boolean authenticated)`
getAuthenticationExpiryDate
`public java.util.Date getAuthenticationExpiryDate()`
setAuthenticationExpiryDate
`public void setAuthenticationExpiryDate(java.util.Date authenticationExpiryDate)`
getUsername
`public java.lang.String getUsername()`
authenticate
`public abstract void authenticate(
AuthenticationListener listener)`
isAnonymous
`public boolean isAnonymous()`
setIsAnonymous
`public void setIsAnonymous(boolean isAnonymous)`
logout
`public abstract void logout()`
setCredentials
```
public void setCredentials(java.lang.String username,
java.lang.String password)
```
