Class ProfileParams

  • All Implemented Interfaces:
    android.os.Parcelable

    public class ProfileParams
    extends BaseListQueryParams
    Collection of object for all the query parameters for Profile
    • 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