Class 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 class  ProfileFields.Builder
      Builder class for ProfileFields
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Returns the value of the field code
      java.lang.String getConfirmPassword()
      Returns the value of the field confirmation_password
      java.lang.String getCurrentPassword()
      Returns the value of the field current_password
      java.lang.String getIdentityToken()
      Returns the value of the field token
      java.lang.String getPassword()
      Returns the value of the field password
      java.lang.String getUID()
      Returns the value of the field uid
      void setCode​(java.lang.String code)
      Sets the value of the field code
      void setConfirmPassword​(java.lang.String confirmPassword)
      Sets the value of the field confirmation_password
      void setCurrentPassword​(java.lang.String currentPassword)
      Sets the value of the field current_password
      void setIdentityToken​(java.lang.String token)
      Set the value of the field token
      void setPassword​(java.lang.String password)
      Sets the value of field password
      void setProfileChanges​(java.util.Map<java.lang.String,​java.lang.String> profileChanges)
      Sets the value of all the member attribute with changes
      void setUID​(java.lang.String uid)
      Sets the value of the field uid
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProfileFields

        public ProfileFields()
        Constructor for ProfileFields
      • ProfileFields

        public ProfileFields​(android.os.Parcel in)
        Constructor with Parcel parameters
        Parameters:
        in - parcel to be parsed for instance of ProfileFields
    • Method Detail

      • getPassword

        @Nullable
        public java.lang.String getPassword()
        Returns the value of the field password
        Returns:
        password of the user
      • setPassword

        public void setPassword​(@Nullable
                                java.lang.String password)
        Sets the value of field password
        Parameters:
        password - password of the user
      • getCurrentPassword

        @Nullable
        public java.lang.String getCurrentPassword()
        Returns the value of the field current_password
        Returns:
        current password of the user
      • setCurrentPassword

        public void setCurrentPassword​(@Nullable
                                       java.lang.String currentPassword)
        Sets the value of the field current_password
        Parameters:
        currentPassword - current password of the user
      • getCode

        @Nullable
        public java.lang.String getCode()
        Returns the value of the field code
        Returns:
        the otp code
      • setCode

        public void setCode​(@Nullable
                            java.lang.String code)
        Sets the value of the field code
        Parameters:
        code - otp code of the user
      • getConfirmPassword

        @Nullable
        public java.lang.String getConfirmPassword()
        Returns the value of the field confirmation_password
        Returns:
        confirm password used to validate the password
      • setConfirmPassword

        public void setConfirmPassword​(@Nullable
                                       java.lang.String confirmPassword)
        Sets the value of the field confirmation_password
        Parameters:
        confirmPassword - used to validate the password
      • getUID

        @Nullable
        public java.lang.String getUID()
        Returns the value of the field uid
        Returns:
        id of the identity to be connected
      • setUID

        public void setUID​(@Nullable
                           java.lang.String uid)
        Sets the value of the field uid
        Parameters:
        uid - id of the identity to be connected
      • getIdentityToken

        @Nullable
        public java.lang.String getIdentityToken()
        Returns the value of the field token
        Returns:
        token from the 3rd party identity
      • setIdentityToken

        public void setIdentityToken​(@Nullable
                                     java.lang.String token)
        Set the value of the field token
        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