-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.io.Serializable
,java.lang.Cloneable
public class MenigaUserProfile implements Serializable, Parcelable, Cloneable
Copyright 2017 Meniga Iceland Inc.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<MenigaUserProfile>
CREATOR
protected Gender
gender
protected LocalDate
birthYear
protected long
personId
protected String
currencyCode
-
Method Summary
Modifier and Type Method Description static void
setOperator(MenigaUserProfileOperations operator)
Sets the api operator for doing api calls int
describeContents()
void
writeToParcel(Parcel dest, int flags)
static Result<MenigaUserProfile>
fetch()
Returns a user object for current logged in user. boolean
equals(Object o)
int
hashCode()
Gender
getGender()
LocalDate
getBirthYear()
long
getPersonId()
String
getCurrencyCode()
-
-
Method Detail
-
setOperator
static void setOperator(MenigaUserProfileOperations operator)
Sets the api operator for doing api calls
- Parameters:
operator
- An object that implements the MenigaUserProfileOperations interface for carrying out api operations on this class.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
fetch
static Result<MenigaUserProfile> fetch()
Returns a user object for current logged in user.
-
hashCode
int hashCode()
-
getBirthYear
LocalDate getBirthYear()
-
getPersonId
long getPersonId()
-
getCurrencyCode
String getCurrencyCode()
-
-
-
-