public class TargetingGeo extends Object implements Jsonable
Geo
. We do not use
Geo
itself for these purposes because the logic is not as simple as matching everything.Geo
,
Serialized FormModifier and Type | Field and Description |
---|---|
private String |
city |
private String |
country |
private String |
metro |
private String |
region |
private String |
zip |
Constructor and Description |
---|
TargetingGeo() |
TargetingGeo(String city,
String metro,
String region,
String country,
String zip) |
Modifier and Type | Method and Description |
---|---|
String |
getCity() |
String |
getCountry() |
String |
getMetro() |
String |
getRegion() |
String |
getZip() |
boolean |
matches(Geo geo) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setMetro(String metro) |
void |
setRegion(String region) |
void |
setZip(String zip) |
String |
toString() |
private String city
private String metro
private String region
private String country
private String zip
public String getCity()
public String getRegion()
public String getMetro()
public void setMetro(String metro)
public void setCity(String city)
public void setRegion(String region)
public void setCountry(String country)
public void setZip(String zip)
public String getCountry()
public String getZip()
public boolean matches(Geo geo)