Class PlacesFields
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams
-
- com.cheetahdigital.locations.core.api.PlacesFields
-
- All Implemented Interfaces:
android.os.Parcelable
public class PlacesFields extends BaseParams
Class for setting the field parameters of Places API. AllNullableparameters means you can remove the parameter by passing anullvalue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlacesFields.BuilderBuilder class forPlacesFields-
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<PlacesFields>CREATOR-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
mId, mQueryMap
-
-
Constructor Summary
Constructors Constructor Description PlacesFields()PlacesFields(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCity()Returns the cityjava.lang.StringgetCountryCode()Returns country codejava.lang.StringgetPhoneNumber()Returns phone numberjava.lang.StringgetState()Returns statejava.lang.StringgetStreetAddress()Returns street addressjava.lang.StringgetStreetAddress2()Returns the second street addressjava.lang.StringgetZipCode()Returns zip codejava.lang.BooleanisSkipVerification()Returns the flag that was set to skip validation of addressvoidsetCity(java.lang.String city)Set the cityvoidsetCountryCode(java.lang.String countryCode)Set country codevoidsetPhoneNumber(java.lang.String phoneNumber)Set phone numbervoidsetSkipVerification(java.lang.Boolean skipVerification)Set the flag to skip address verificationvoidsetState(java.lang.String state)Set statevoidsetStreetAddress(java.lang.String streetAddress)Set the street addressvoidsetStreetAddress2(java.lang.String streetAddress2)Set the second street addressvoidsetZipCode(java.lang.String zipCode)Set zip code-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
addParam, describeContents, getAccessToken, getId, getParam, getQueryMap, setAccessToken, setId, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<PlacesFields> CREATOR
-
-
Method Detail
-
getStreetAddress
@Nullable public java.lang.String getStreetAddress()
Returns street address- Returns:
- street address
-
setStreetAddress
public void setStreetAddress(@Nullable java.lang.String streetAddress)Set the street address- Parameters:
streetAddress- street address
-
getStreetAddress2
@Nullable public java.lang.String getStreetAddress2()
Returns the second street address- Returns:
- the second street address
-
setStreetAddress2
public void setStreetAddress2(@Nullable java.lang.String streetAddress2)Set the second street address- Parameters:
streetAddress2- the second street address
-
getCity
@Nullable public java.lang.String getCity()
Returns the city- Returns:
- city
-
setCity
public void setCity(@Nullable java.lang.String city)Set the city- Parameters:
city- city
-
getState
@Nullable public java.lang.String getState()
Returns state- Returns:
- state
-
setState
public void setState(@Nullable java.lang.String state)Set state- Parameters:
state- value for state
-
getCountryCode
@Nullable public java.lang.String getCountryCode()
Returns country code- Returns:
- country code
-
setCountryCode
public void setCountryCode(@Nullable java.lang.String countryCode)Set country code- Parameters:
countryCode- country code
-
getZipCode
@Nullable public java.lang.String getZipCode()
Returns zip code- Returns:
- zip code
-
setZipCode
public void setZipCode(@Nullable java.lang.String zipCode)Set zip code- Parameters:
zipCode- zip code
-
getPhoneNumber
@Nullable public java.lang.String getPhoneNumber()
Returns phone number- Returns:
- phone number
-
setPhoneNumber
public void setPhoneNumber(@Nullable java.lang.String phoneNumber)Set phone number- Parameters:
phoneNumber- phone number
-
isSkipVerification
@Nullable public java.lang.Boolean isSkipVerification()
Returns the flag that was set to skip validation of address- Returns:
- flag if address verification was skipped
-
setSkipVerification
public void setSkipVerification(@Nullable java.lang.Boolean skipVerification)Set the flag to skip address verification- Parameters:
skipVerification- flag to skip address verification
-
-