Package com.whatsapp.api.domain.messages
Class LocationMessage
java.lang.Object
com.whatsapp.api.domain.messages.LocationMessage
The type Template message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets address.Gets latitude.Gets longitude.getName()
Gets name.setAddress
(String address) Sets address.setLatitude
(String latitude) Sets latitude.setLongitude
(String longitude) Sets longitude.Sets name.
-
Constructor Details
-
LocationMessage
public LocationMessage()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name- Returns:
- the LocationMessage
-
getLongitude
Gets longitude.- Returns:
- the longitude
-
setLongitude
Sets longitude.- Parameters:
longitude
-- Returns:
- LocationMessage
-
getLatitude
Gets latitude.- Returns:
- the latitude
-
setLatitude
Sets latitude.- Parameters:
latitude
-- Returns:
- LocationMessage
-
getAddress
Gets address.- Returns:
- the address
-
setAddress
Sets address.- Parameters:
address
-- Returns:
- LocationMessage
-