ZipMatch Property
Indicates whether the ZipCode matches.
Syntax
addressverify.getZipMatch([callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getZipMatch([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setZipMatch([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property will be filled after a call to the VerifyAddress method. It indicates whether the ZipCode matches the address on file for the PayPal account specified by the Email property. Only the first five characters of the ZipCode are compared to the address on file. This property may contain one of the following values:
"None" | The input value of the Email property does not match any email address on file at PayPal. In addition, an error response is returned. No further comparison of other input values has been made. |
"Matched" | The ZipCode matches the zip code on file with PayPal. |
"Unmatched" | The ZipCode does not match the zip code on file with PayPal. |
This property is read-only.
Data Type
String