...
Method Signature |
|
Description | Takes a zip and does a city and state lookup with the United States Postal Service. |
Result | A CityStateZip object. |
Discussion
- Make the remote call
- Check to make sure the result is not null. If it is, a system error occurred.
- Check CityStateZip .validZip flag. If false, the zip was invalid. Also, if false, examine the CityStateZip .error property. If it contains anything, a system error occurred.
- If zip was valid, city and state will be populated and may be used.
...