Class ProfileParams
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams
-
- com.cheetahdigital.corekit.rest.params.BaseListQueryParams
-
- com.cheetahdigital.profile.core.api.ProfileParams
-
- All Implemented Interfaces:
android.os.Parcelable
public class ProfileParams extends 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 forProfileParams
-
Nested classes/interfaces inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams
BaseListQueryParams.BaseListQueryBuilder<P extends BaseListQueryParams,B extends BaseListQueryParams.BaseListQueryBuilder>
-
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.BaseListQueryParams
CREATOR
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
mId, mQueryMap
-
-
Constructor Summary
Constructors Constructor Description ProfileParams()
Constructor forProfileParams
ProfileParams(android.os.Parcel in)
Constructor for ProfileParams with Parcel parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Returns the value of the parametercode
java.lang.String
getCurrentPassword()
Returns the value of the parametercurrent_password
java.lang.String
getReferralCode()
Returns the value of the parameterreferral_code
void
setCode(java.lang.String code)
Sets the value of the parametercode
void
setCurrentPassword(java.lang.String currentPassword)
Sets the value of the parametercurrent_password
void
setIncludeSegments(java.lang.Boolean include)
Sets the value of the boolean query parameterinclude_segments
void
setReferralCode(java.lang.String referralCode)
Set the value of the query parameterreferral_code
java.lang.Boolean
shouldIncludeSegment()
Returns the value of the boolean query parameterinclude_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
-
-
-
-
Constructor Detail
-
ProfileParams
public ProfileParams()
Constructor forProfileParams
-
ProfileParams
public ProfileParams(android.os.Parcel in)
Constructor for ProfileParams with Parcel parameters- Parameters:
in
- sourceParcel
for theProfileParams
-
-
Method Detail
-
setIncludeSegments
public void setIncludeSegments(@Nullable java.lang.Boolean include)
Sets the value of the boolean query parameterinclude_segments
- Parameters:
include
- value to store forinclude_segments
-
shouldIncludeSegment
public java.lang.Boolean shouldIncludeSegment()
Returns the value of the boolean query parameterinclude_segments
- Returns:
- returns
true
if segments are included otherwisefalse
-
getReferralCode
@Nullable public java.lang.String getReferralCode()
Returns the value of the parameterreferral_code
- Returns:
- value stored for
referral_code
-
setCurrentPassword
public void setCurrentPassword(@Nullable java.lang.String currentPassword)
Sets the value of the parametercurrent_password
- Parameters:
currentPassword
- current password of the user
-
getCurrentPassword
public java.lang.String getCurrentPassword()
Returns the value of the parametercurrent_password
- Returns:
- current password of the user
-
setCode
public void setCode(@Nullable java.lang.String code)
Sets the value of the parametercode
- Parameters:
code
- the otp code
-
getCode
public java.lang.String getCode()
Returns the value of the parametercode
- Returns:
- the otp code
-
setReferralCode
public void setReferralCode(@Nullable java.lang.String referralCode)
Set the value of the query parameterreferral_code
- Parameters:
referralCode
- value to set forreferral_code
-
-