Class AuthenticationFieldParams
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams
-
- com.cheetahdigital.corekit.rest.params.BaseListQueryParams
-
- com.cheetahdigital.corekit.authentication.core.api.AuthenticationFieldParams
-
- All Implemented Interfaces:
android.os.Parcelable
public class AuthenticationFieldParams extends BaseListQueryParams
Class for setting the field parameters of Authentication API. AllNullable
parameters means you can remove the parameter by passing anull
value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticationFieldParams.Builder
Builder class forAuthenticationFieldParams
-
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 Modifier and Type Field Description static android.os.Parcelable.Creator<AuthenticationFieldParams>
CREATOR
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
mId, mQueryMap
-
-
Constructor Summary
Constructors Constructor Description AuthenticationFieldParams()
AuthenticationFieldParams(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAssertion()
Get the Assertion from query mapjava.lang.String
getBirthdate()
Get the Birthdate from query mapjava.lang.String
getCardId()
Get the card id from query mapjava.lang.String
getClientId()
Get the client id from query mapjava.lang.String
getClientSecret()
Get the client secret from query mapjava.lang.String
getCurrentPassword()
Get the Current Password from query mapjava.lang.String
getDeviceId()
Get the Device Id from query mapjava.lang.String
getEmail()
Get emailjava.lang.String
getEmailAlias()
Get the email alias from query mapjava.lang.String
getFirstName()
Get the First Name from query mapjava.lang.String
getGrantType()
Get the Grant Type from query mapjava.lang.String
getLastName()
Get the Last Name from query mapjava.lang.String
getMailingCity()
Get the Mailing City from query mapjava.lang.String
getMailingPostalCode()
Get the Mailing Postal Code from query mapjava.lang.String
getMailingState()
Get the Mailing State from query mapjava.lang.String
getMailingStreet()
Get the Mailing Street from query mapjava.lang.String
getMessageName()
Get the Message Name from query mapjava.lang.String
getMobilePhone()
Get the mobile phone from query mapjava.lang.String
getPassword()
Get the password from query mapjava.lang.String
getPasswordConfirmation()
Get the Password Confirmation from query mapjava.lang.String
getPlaceIntegrationId()
Get the Place Integration Id from query mapjava.lang.String
getProvider()
Get the Provider from query mapjava.lang.String
getReferralCode()
Get the Referral Code from query mapjava.lang.String
getRefreshToken()
Get the Refresh Token from query mapjava.lang.String
getResetPasswordToken()
Get the reset password tokenjava.lang.String
getToken()
Get the Token from query mapvoid
setAssertion(java.lang.String assertion)
Set the assertionvoid
setBirthdate(java.lang.String birthdate)
Set the user's birthdatevoid
setCardId(java.lang.String cardId)
Set the card Idvoid
setClientId(java.lang.String clientId)
Set the client id of the environmentvoid
setClientSecret(java.lang.String clientSecret)
Set the client secret of the environmentvoid
setCurrentPassword(java.lang.String currentPassword)
Set current passwordvoid
setDeviceId(java.lang.String deviceId)
Set device idvoid
setEmail(java.lang.String email)
Set the emailvoid
setEmailAlias(java.lang.String emailAlias)
Set the user's email aliasvoid
setFields(java.util.Map<java.lang.String,java.lang.Object> fields)
Set additional fields for the uservoid
setFirstName(java.lang.String firstName)
Set the user's first namevoid
setGrantType(java.lang.String grantType)
Set grant typevoid
setLastName(java.lang.String lastName)
Set the user's Last namevoid
setMailingCity(java.lang.String mailingCity)
Set the user's mailing cityvoid
setMailingPostalCode(java.lang.String mailingPostalCode)
Set the user's mailing postal codevoid
setMailingState(java.lang.String mailingState)
Set the user's mailing statevoid
setMailingStreet(java.lang.String mailingStreet)
Set the user's mailing streetvoid
setMessageName(java.lang.String messageName)
Set message namevoid
setMobilePhone(java.lang.String mobilePhone)
Set the mobile phone of the uservoid
setPassword(java.lang.String password)
Set the password of the uservoid
setPasswordConfirmation(java.lang.String password)
Set password confirmationvoid
setPlaceIntegrationId(java.lang.String placeIntegrationId)
Set the user's place integration idvoid
setProvider(java.lang.String provider)
Set the provider The social media type.void
setReferralCode(java.lang.String referralCode)
Set the user's referral code If provided and valid, will link referral to member that shared the codevoid
setRefreshToken(java.lang.String refreshToken)
Set refresh tokenvoid
setResetPasswordToken(java.lang.String resetPasswordToken)
Set reset password token from URL paramvoid
setToken(java.lang.String token)
Set device specific token Used when registering the device to receive notification-
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
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<AuthenticationFieldParams> CREATOR
-
-
Method Detail
-
getClientId
@Nullable public java.lang.String getClientId()
Get the client id from query map- Returns:
- client id data from the query map "client_id"
-
setClientId
public void setClientId(@Nullable java.lang.String clientId)
Set the client id of the environment- Parameters:
clientId
- client id of the environment
-
getClientSecret
@Nullable public java.lang.String getClientSecret()
Get the client secret from query map- Returns:
- client secret data from the query map "client_secret"
-
setClientSecret
public void setClientSecret(@Nullable java.lang.String clientSecret)
Set the client secret of the environment- Parameters:
clientSecret
- client secret of the environment
-
getMobilePhone
@Nullable public java.lang.String getMobilePhone()
Get the mobile phone from query map- Returns:
- mobile phone data from the query map "mobile_phone"
-
setMobilePhone
public void setMobilePhone(@Nullable java.lang.String mobilePhone)
Set the mobile phone of the user- Parameters:
mobilePhone
- user's mobile phone
-
getPassword
@Nullable public java.lang.String getPassword()
Get the password from query map- Returns:
- password data from the query map "password"
-
setPassword
public void setPassword(@Nullable java.lang.String password)
Set the password of the user- Parameters:
password
- user's password
-
getEmail
@Nullable public java.lang.String getEmail()
Get email- Returns:
- email data from the query map "email"
-
setEmail
public void setEmail(@Nullable java.lang.String email)
Set the email- Parameters:
email
- user's email
-
getCardId
@Nullable public java.lang.String getCardId()
Get the card id from query map- Returns:
- card id data from the query map "card_id"
-
setCardId
public void setCardId(@Nullable java.lang.String cardId)
Set the card Id- Parameters:
cardId
- user's card number
-
getProvider
@Nullable public java.lang.String getProvider()
Get the Provider from query map- Returns:
- Provider data from the query map "provider"
-
setProvider
public void setProvider(@Nullable java.lang.String provider)
Set the provider The social media type. Values can be facebook, twitter, google or instagram- Parameters:
provider
- name of the provider. Values can be facebook, twitter, google or instagram
-
getAssertion
@Nullable public java.lang.String getAssertion()
Get the Assertion from query map- Returns:
- Assertion data from the query map "assertion"
-
setAssertion
public void setAssertion(@Nullable java.lang.String assertion)
Set the assertion- Parameters:
assertion
- The access token gathered from integrating the social media’s login API
-
getGrantType
@Nullable public java.lang.String getGrantType()
Get the Grant Type from query map- Returns:
- Grant Type data from the query map "grant_type"
-
setGrantType
public void setGrantType(@Nullable java.lang.String grantType)
Set grant type- Parameters:
grantType
- For the social login, this value should be assertion. For regular sign-in, this value should be password
-
getRefreshToken
@Nullable public java.lang.String getRefreshToken()
Get the Refresh Token from query map- Returns:
- Refresh Token data from the query map "refresh_token"
-
setRefreshToken
public void setRefreshToken(@Nullable java.lang.String refreshToken)
Set refresh token- Parameters:
refreshToken
- The refresh_token value gathered from earlier logins or when token refreshes
-
getDeviceId
@Nullable public java.lang.String getDeviceId()
Get the Device Id from query map- Returns:
- Device Id data from the query map "device_id"
-
setDeviceId
public void setDeviceId(@Nullable java.lang.String deviceId)
Set device id- Parameters:
deviceId
- The unique device id
-
getToken
@Nullable public java.lang.String getToken()
Get the Token from query map- Returns:
- Token data from the query map "token"
-
setToken
public void setToken(@Nullable java.lang.String token)
Set device specific token Used when registering the device to receive notification- Parameters:
token
- The device specific token
-
getCurrentPassword
@Nullable public java.lang.String getCurrentPassword()
Get the Current Password from query map- Returns:
- Current Password data from the query map "current_password"
-
setCurrentPassword
public void setCurrentPassword(@Nullable java.lang.String currentPassword)
Set current password- Parameters:
currentPassword
- current password of the user
-
getPasswordConfirmation
@Nullable public java.lang.String getPasswordConfirmation()
Get the Password Confirmation from query map- Returns:
- Password Confirmation data from the query map "password_confirmation"
-
setPasswordConfirmation
public void setPasswordConfirmation(@Nullable java.lang.String password)
Set password confirmation- Parameters:
password
- password confirmation that should match password
-
getMessageName
@Nullable public java.lang.String getMessageName()
Get the Message Name from query map- Returns:
- Message Name data from the query map "message_name"
-
setMessageName
public void setMessageName(@Nullable java.lang.String messageName)
Set message name- Parameters:
messageName
- message name
-
getFirstName
@Nullable public java.lang.String getFirstName()
Get the First Name from query map- Returns:
- First Name data from the query map "first_name"
-
setFirstName
public void setFirstName(@Nullable java.lang.String firstName)
Set the user's first name- Parameters:
firstName
- The user’s last name
-
getLastName
@Nullable public java.lang.String getLastName()
Get the Last Name from query map- Returns:
- Last Name data from the query map "last_name"
-
setLastName
public void setLastName(@Nullable java.lang.String lastName)
Set the user's Last name- Parameters:
lastName
- The user’s surname
-
getBirthdate
@Nullable public java.lang.String getBirthdate()
Get the Birthdate from query map- Returns:
- Birthdate data from the query map "birthdate"
-
setBirthdate
public void setBirthdate(@Nullable java.lang.String birthdate)
Set the user's birthdate- Parameters:
birthdate
- user's birthday
-
getMailingStreet
@Nullable public java.lang.String getMailingStreet()
Get the Mailing Street from query map- Returns:
- Mailing Street data from the query map "mailing_street"
-
setMailingStreet
public void setMailingStreet(@Nullable java.lang.String mailingStreet)
Set the user's mailing street- Parameters:
mailingStreet
- user's maling street address
-
getMailingCity
@Nullable public java.lang.String getMailingCity()
Get the Mailing City from query map- Returns:
- Mailing City data from the query map "mailing_city"
-
setMailingCity
public void setMailingCity(@Nullable java.lang.String mailingCity)
Set the user's mailing city- Parameters:
mailingCity
- user's mailing city
-
getMailingState
@Nullable public java.lang.String getMailingState()
Get the Mailing State from query map- Returns:
- Mailing State data from the query map "mailing_state"
-
setMailingState
public void setMailingState(@Nullable java.lang.String mailingState)
Set the user's mailing state- Parameters:
mailingState
- user's mailing state
-
getMailingPostalCode
@Nullable public java.lang.String getMailingPostalCode()
Get the Mailing Postal Code from query map- Returns:
- Mailing Postal Code data from the query map "mailing_postal_code"
-
setMailingPostalCode
public void setMailingPostalCode(@Nullable java.lang.String mailingPostalCode)
Set the user's mailing postal code- Parameters:
mailingPostalCode
- user's mailing postal code
-
getReferralCode
@Nullable public java.lang.String getReferralCode()
Get the Referral Code from query map- Returns:
- Referral Code data from the query map "referral_code"
-
setReferralCode
public void setReferralCode(@Nullable java.lang.String referralCode)
Set the user's referral code If provided and valid, will link referral to member that shared the code- Parameters:
referralCode
- user's referral code
-
getPlaceIntegrationId
@Nullable public java.lang.String getPlaceIntegrationId()
Get the Place Integration Id from query map- Returns:
- Place Integration Id data from the query map "place_integration_id"
-
setPlaceIntegrationId
public void setPlaceIntegrationId(@Nullable java.lang.String placeIntegrationId)
Set the user's place integration id- Parameters:
placeIntegrationId
- user's place integration id
-
setFields
public void setFields(@Nullable java.util.Map<java.lang.String,java.lang.Object> fields)
Set additional fields for the user- Parameters:
fields
- additional fields which will be set. This is in Map format
-
getEmailAlias
@Nullable public java.lang.String getEmailAlias()
Get the email alias from query map- Returns:
- the user's email alias
-
setEmailAlias
public void setEmailAlias(@Nullable java.lang.String emailAlias)
Set the user's email alias- Parameters:
emailAlias
- user's email alias
-
getResetPasswordToken
@Nullable public java.lang.String getResetPasswordToken()
Get the reset password token- Returns:
- reset password token
-
setResetPasswordToken
public void setResetPasswordToken(@Nullable java.lang.String resetPasswordToken)
Set reset password token from URL param- Parameters:
resetPasswordToken
- reset password token
-
-