validateAddress(input: AddressInput,options?: ValidateAddressOptions): Promise<AddressValidationResult>
Checks that the parts of an address exist and belong together — a valid province, a district that sits in it, a sub-district that sits in the district, and a postal code that serves that sub-district.
Only the fields you pass are checked, so it works for a partially filled
form. The chain stops at the first inconsistent field and names it in
errors.
input: AddressInput
optional
options: ValidateAddressOptions
Promise<AddressValidationResult>