Class ProfileParams.Builder
- java.lang.Object
 - 
- com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder<ProfileParams,ProfileParams.Builder>
 - 
- com.cheetahdigital.profile.core.api.ProfileParams.Builder
 
 
 
- 
- Enclosing class:
 - ProfileParams
 
public static class ProfileParams.Builder extends BaseParams.BaseBuilder<ProfileParams,ProfileParams.Builder>
Builder class forProfileParams 
- 
- 
Field Summary
- 
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder
mQueryParams 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Builder()Constructor for theProfileParams.BuilderBuilder(ProfileParams parameter)Constructor for theProfileParams.Builderwith initial value from aProfileParamsinstance 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProfileParamscreateQueryParams()Instantiates the implementation classProfileParams.BuildersetIncludeSegments(java.lang.Boolean shouldInclude)Sets the value of the boolean parameter fieldinclude_segmentsProfileParams.BuildersetReferralCode(java.lang.String referralCode)Set the value of the query parameterreferral_code- 
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder
build, setId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
Builder
public Builder()
Constructor for theProfileParams.Builder 
- 
Builder
public Builder(ProfileParams parameter)
Constructor for theProfileParams.Builderwith initial value from aProfileParamsinstance- Parameters:
 parameter- instance ofProfileParams
 
 - 
 
- 
Method Detail
- 
createQueryParams
protected ProfileParams createQueryParams()
Description copied from class:BaseParams.BaseBuilderInstantiates the implementation class- Specified by:
 createQueryParamsin classBaseParams.BaseBuilder<ProfileParams,ProfileParams.Builder>- Returns:
 - implementation class of 
BaseParams.BaseBuilder 
 
- 
setIncludeSegments
public ProfileParams.Builder setIncludeSegments(@Nullable java.lang.Boolean shouldInclude)
Sets the value of the boolean parameter fieldinclude_segments- Parameters:
 shouldInclude- boolean value; true to indicate parameter to include segments otherwise false- Returns:
 - instance of the Builder that called this method
 
 
- 
setReferralCode
public ProfileParams.Builder setReferralCode(@Nullable java.lang.String referralCode)
Set the value of the query parameterreferral_code- Parameters:
 referralCode- value to set forreferral_code- Returns:
 - The Builder object to allow for chaining calls to set/add methods
 
 
 - 
 
 -