-
- 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>CREATORprotected Gendergenderprotected LocalDatebirthYearprotected longpersonIdprotected StringcurrencyCode
-
Method Summary
Modifier and Type Method Description static voidsetOperator(MenigaUserProfileOperations operator)Sets the api operator for doing api calls intdescribeContents()voidwriteToParcel(Parcel dest, int flags)static Result<MenigaUserProfile>fetch()Returns a user object for current logged in user. booleanequals(Object o)inthashCode()GendergetGender()LocalDategetBirthYear()longgetPersonId()StringgetCurrencyCode()-
-
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()
-
-
-
-