java.lang.Object
com.logicommerce.sdk.models.implementations.LocationImpl
- All Implemented Interfaces:
Location
LocationImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcountry.Getter for the fieldlatitude.Getter for the fieldlocationId.Getter for the fieldlongitude.getName()Getter for the fieldname.Getter for the fieldstateCode.voidsetCountry(String country) Getter for the fieldcountry.voidsetLatitude(Double latitude) Setter for the fieldlatitude.voidsetLocationId(Integer locationId) Setter for the fieldlocationId.voidsetLongitude(Double longitude) Setter for the fieldlongitude.voidSetter for the fieldname.voidsetStateCode(String stateCode) Setter for the fieldstateCode.
-
Constructor Details
-
LocationImpl
public LocationImpl()
-
-
Method Details
-
getCountry
Getter for the field
country.- Specified by:
getCountryin interfaceLocation- Returns:
- a
Stringobject
-
getLocationId
Getter for the field
locationId.- Specified by:
getLocationIdin interfaceLocation- Returns:
- a
Integerobject
-
getLatitude
Getter for the field
latitude.- Specified by:
getLatitudein interfaceLocation- Returns:
- a
Doubleobject
-
getLongitude
Getter for the field
longitude.- Specified by:
getLongitudein interfaceLocation- Returns:
- a
Doubleobject
-
getStateCode
Getter for the field
stateCode.- Specified by:
getStateCodein interfaceLocation- Returns:
- a
Stringobject
-
setCountry
Getter for the field
country.- Parameters:
country- aStringobject
-
setLocationId
Setter for the field
locationId.- Parameters:
locationId- aIntegerobject
-
setLatitude
Setter for the field
latitude.- Parameters:
latitude- aDoubleobject
-
setLongitude
Setter for the field
longitude.- Parameters:
longitude- aDoubleobject
-
setStateCode
Setter for the field
stateCode.- Parameters:
stateCode- aStringobject
-
getName
Getter for the field
name. -
setName
Setter for the field
name.- Parameters:
name- aStringobject
-