Package 

Class User

  • All Implemented Interfaces:
    java.lang.Cloneable

    
    public class User
     implements Cloneable
                        

    Created by mikeshou on 15/8/31.

    • Constructor Detail

      • User

        User()
    • Method Detail

      • getRegFrom

         int getRegFrom()

        Gets type of account registration.

      • setRegFrom

         void setRegFrom(int regFrom)

        Sets the type of account registration.

        Parameters:
        regFrom - account registration type
      • setUsername

         void setUsername(String username)

        Sets username.

        Parameters:
        username - the username
      • getSid

         String getSid()

        Gets session id.

      • setSid

         void setSid(String sid)

        Sets session id.

        Parameters:
        sid - the session id
      • getUid

         String getUid()

        Gets user ID.

      • setUid

         void setUid(String uid)

        Sets user ID.

        Parameters:
        uid - the user ID
      • setService

         void setService(String service)

        Sets service.

        Parameters:
        service - the service
      • getEcode

         String getEcode()

        Gets encryption code.

      • setEcode

         void setEcode(String ecode)

        Sets encryption code.

        Parameters:
        ecode - the encryption code
      • setNickName

         void setNickName(String nickName)

        Sets user nickname.

        Parameters:
        nickName - the nickname
      • setPhoneCode

         void setPhoneCode(String phoneCode)

        Sets country code.

        Parameters:
        phoneCode - the country code
      • setPartnerIdentity

         void setPartnerIdentity(String partnerIdentity)

        Sets partner identity.

        Parameters:
        partnerIdentity - the partner identity
      • getMobile

         String getMobile()

        Gets mobile phone number.

      • setMobile

         void setMobile(String mobile)

        Sets mobile phone number.

        Parameters:
        mobile - the mobile phone number
      • setUserType

         void setUserType(int userType)

        Sets user type.

        Parameters:
        userType - the user type like{0:User does not exist 1:Skip to the Supplementary Enterprise Information page}
      • setProductCount

         void setProductCount(int productCount)

        Sets product counts.

        Parameters:
        productCount - the product count
      • getEmail

         String getEmail()

        Gets email address.

      • setEmail

         void setEmail(String email)

        Sets email address.

        Parameters:
        email - the email address
      • getHeadPic

         String getHeadPic()

        Gets user avatar link address.

      • setHeadPic

         void setHeadPic(String headPic)

        Sets user avatar link address.

        Parameters:
        headPic - the link address
      • getTimezoneId

         String getTimezoneId()

        Gets user time zone information.

      • setTimezoneId

         void setTimezoneId(String timezoneId)

        Sets user time zone information.

        Parameters:
        timezoneId - the timezone
      • setUserAlias

         void setUserAlias(String userAlias)

        Set user alias

      • setDataVersion

         void setDataVersion(int dataVersion)

        Sets data version.

        Parameters:
        dataVersion - the data version
      • setTempUnit

         void setTempUnit(int tempUnit)

        Sets temperature unit.

        Parameters:
        tempUnit - the temperature unit like {1:°C, 2:°F}
      • getSnsNickname

         String getSnsNickname()

        Gets the nickname of the third-party account.

      • setSnsNickname

         void setSnsNickname(String snsNickname)

        Sets the nickname of the third-party account.

        Parameters:
        snsNickname - the third-party account nickname
      • getExtras

         Map<String, Object> getExtras()

        Gets user extension information.

      • setExtras

         void setExtras(Map<String, Object> extras)

        Sets user extension information.

        Parameters:
        extras - the extension information
      • setUserToB

         void setUserToB(UserToB userToB)

        Set toB user

        Parameters:
        userToB - user toB