getTaxRegistration method
Retrieves tax registration for a single account.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter accountId :
Your unique account identifier.
Implementation
Future<GetTaxRegistrationResponse> getTaxRegistration({
String? accountId,
}) async {
final $payload = <String, dynamic>{
if (accountId != null) 'accountId': accountId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/GetTaxRegistration',
exceptionFnMap: _exceptionFns,
);
return GetTaxRegistrationResponse.fromJson(response);
}