Class ProfileParams

  • All Implemented Interfaces:
    android.os.Parcelable

    public class ProfileParams
    extends com.cheetahdigital.corekit.rest.params.BaseListQueryParams
    Collection of object for all the query parameters for Profile
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ProfileParams.Builder
      Builder class for ProfileParams
      • Nested classes/interfaces inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams

        com.cheetahdigital.corekit.rest.params.BaseListQueryParams.BaseListQueryBuilder<P extends com.cheetahdigital.corekit.rest.params.BaseListQueryParams,​B extends com.cheetahdigital.corekit.rest.params.BaseListQueryParams.BaseListQueryBuilder>
      • Nested classes/interfaces inherited from class com.cheetahdigital.corekit.rest.params.BaseParams

        com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder<T extends com.cheetahdigital.corekit.rest.params.BaseParams,​B extends com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder>
      • 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 class com.cheetahdigital.corekit.rest.params.BaseListQueryParams

        CREATOR
      • Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams

        mId, mQueryMap
      • 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 parameter code
      java.lang.String getCurrentPassword()
      Returns the value of the parameter current_password
      java.lang.String getReferralCode()
      Returns the value of the parameter referral_code
      void setCode​(java.lang.String code)
      Sets the value of the parameter code
      void setCurrentPassword​(java.lang.String currentPassword)
      Sets the value of the parameter current_password
      void setIncludeSegments​(java.lang.Boolean include)
      Sets the value of the boolean query parameter include_segments
      void setReferralCode​(java.lang.String referralCode)
      Set the value of the query parameter referral_code
      java.lang.Boolean shouldIncludeSegment()
      Returns the value of the boolean query parameter include_segments
      • Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams

        addCategories, addCategory, clearCategories, describeContents, getCategories, getItemsPerPage, getLayout, getPage, getSortBy, getSortOrder, removeCategory, setItemsPerPage, setLayout, setPage, setSortBy, setSortOrder, writeToParcel
      • Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams

        addParam, getAccessToken, getId, getParam, getQueryMap, setAccessToken, setId
      • Methods inherited from class java.lang.Object

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

      • ProfileParams

        public ProfileParams()
        Constructor for ProfileParams
      • ProfileParams

        public ProfileParams​(android.os.Parcel in)
        Constructor for ProfileParams with Parcel parameters
        Parameters:
        in - source Parcel for the ProfileParams
    • Method Detail

      • setIncludeSegments

        public void setIncludeSegments​(@Nullable
                                       java.lang.Boolean include)
        Sets the value of the boolean query parameter include_segments
        Parameters:
        include - value to store for include_segments
      • shouldIncludeSegment

        public java.lang.Boolean shouldIncludeSegment()
        Returns the value of the boolean query parameter include_segments
        Returns:
        returns true if segments are included otherwise false
      • getReferralCode

        @Nullable
        public java.lang.String getReferralCode()
        Returns the value of the parameter referral_code
        Returns:
        value stored for referral_code
      • setCurrentPassword

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

        public java.lang.String getCurrentPassword()
        Returns the value of the parameter current_password
        Returns:
        current password of the user
      • setCode

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

        public java.lang.String getCode()
        Returns the value of the parameter code
        Returns:
        the otp code
      • setReferralCode

        public void setReferralCode​(@Nullable
                                    java.lang.String referralCode)
        Set the value of the query parameter referral_code
        Parameters:
        referralCode - value to set for referral_code