+ city = property(get_city, set_city)
+
+ def get_postal_code(self):
+ return self._get_string("postalCode") or ""
+
+ def set_postal_code(self, postal_code):
+ self._set_string("postalCode", postal_code)
+
+ postal_code = property(get_postal_code, set_postal_code)
+
+ # XXX This should be c
+ def get_country_code(self):
+ return self._get_string("st")
+
+ def set_country_code(self, country_code):
+ self._set_string("st", country_code)
+
+ country_code = property(get_country_code, set_country_code)
+
+ @property
+ def country_name(self):
+ if self.country_code:
+ return countries.get_name(self.country_code)