Class ProfileFields
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams
-
- com.cheetahdigital.profile.core.api.ProfileFields
-
- All Implemented Interfaces:
android.os.Parcelable
public class ProfileFields extends BaseParams
Class that handles all field parameter for Profile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProfileFields.BuilderBuilder class forProfileFields-
Nested classes/interfaces inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
BaseParams.BaseBuilder<T extends BaseParams,B extends BaseParams.BaseBuilder>
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
CREATOR, mId, mQueryMap
-
-
Constructor Summary
Constructors Constructor Description ProfileFields()Constructor forProfileFieldsProfileFields(android.os.Parcel in)Constructor with Parcel parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Returns the value of the fieldcodejava.lang.StringgetConfirmPassword()Returns the value of the fieldconfirmation_passwordjava.lang.StringgetCurrentPassword()Returns the value of the fieldcurrent_passwordjava.lang.StringgetIdentityToken()Returns the value of the fieldtokenjava.lang.StringgetPassword()Returns the value of the fieldpasswordjava.lang.StringgetUID()Returns the value of the fielduidvoidsetCode(java.lang.String code)Sets the value of the fieldcodevoidsetConfirmPassword(java.lang.String confirmPassword)Sets the value of the fieldconfirmation_passwordvoidsetCurrentPassword(java.lang.String currentPassword)Sets the value of the fieldcurrent_passwordvoidsetIdentityToken(java.lang.String token)Set the value of the fieldtokenvoidsetPassword(java.lang.String password)Sets the value of fieldpasswordvoidsetProfileChanges(java.util.Map<java.lang.String,java.lang.String> profileChanges)Sets the value of all the member attribute with changesvoidsetUID(java.lang.String uid)Sets the value of the fielduid-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
addParam, describeContents, getAccessToken, getId, getParam, getQueryMap, setAccessToken, setId, writeToParcel
-
-
-
-
Constructor Detail
-
ProfileFields
public ProfileFields()
Constructor forProfileFields
-
ProfileFields
public ProfileFields(android.os.Parcel in)
Constructor with Parcel parameters- Parameters:
in- parcel to be parsed for instance ofProfileFields
-
-
Method Detail
-
getPassword
@Nullable public java.lang.String getPassword()
Returns the value of the fieldpassword- Returns:
- password of the user
-
setPassword
public void setPassword(@Nullable java.lang.String password)Sets the value of fieldpassword- Parameters:
password- password of the user
-
getCurrentPassword
@Nullable public java.lang.String getCurrentPassword()
Returns the value of the fieldcurrent_password- Returns:
- current password of the user
-
setCurrentPassword
public void setCurrentPassword(@Nullable java.lang.String currentPassword)Sets the value of the fieldcurrent_password- Parameters:
currentPassword- current password of the user
-
getCode
@Nullable public java.lang.String getCode()
Returns the value of the fieldcode- Returns:
- the otp code
-
setCode
public void setCode(@Nullable java.lang.String code)Sets the value of the fieldcode- Parameters:
code- otp code of the user
-
getConfirmPassword
@Nullable public java.lang.String getConfirmPassword()
Returns the value of the fieldconfirmation_password- Returns:
- confirm password used to validate the password
-
setConfirmPassword
public void setConfirmPassword(@Nullable java.lang.String confirmPassword)Sets the value of the fieldconfirmation_password- Parameters:
confirmPassword- used to validate the password
-
getUID
@Nullable public java.lang.String getUID()
Returns the value of the fielduid- Returns:
- id of the identity to be connected
-
setUID
public void setUID(@Nullable java.lang.String uid)Sets the value of the fielduid- Parameters:
uid- id of the identity to be connected
-
getIdentityToken
@Nullable public java.lang.String getIdentityToken()
Returns the value of the fieldtoken- Returns:
- token from the 3rd party identity
-
setIdentityToken
public void setIdentityToken(@Nullable java.lang.String token)Set the value of the fieldtoken- Parameters:
token- token from the 3rd party identity (facebook, ig, twitter, etc)
-
setProfileChanges
public void setProfileChanges(@Nullable java.util.Map<java.lang.String,java.lang.String> profileChanges)Sets the value of all the member attribute with changes- Parameters:
profileChanges- mapping (member attribute as key, new value as the value) of profile changes
-
-