AddressOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:address> attribute.
Constructor
AddressOperations(*args, **kwargs)
Methods
| validate |
Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address. |
validate
Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.
async validate(parameters: _models.AddressDetails, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AddressValidationResponse
Parameters
| Name | Description |
|---|---|
|
parameters
Required
|
The request body. Is one of the following types: AddressDetails, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
AddressValidationResponse. The AddressValidationResponse is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|