putSupplementalTaxRegistration method
Future<PutSupplementalTaxRegistrationResponse>
putSupplementalTaxRegistration({
- required SupplementalTaxRegistrationEntry taxRegistrationEntry,
Stores supplemental tax registration for a single account.
May throw ConflictException.
May throw InternalServerException.
May throw ValidationException.
Parameter taxRegistrationEntry :
The supplemental TRN information that will be stored for the caller
account ID.
Implementation
Future<PutSupplementalTaxRegistrationResponse>
putSupplementalTaxRegistration({
required SupplementalTaxRegistrationEntry taxRegistrationEntry,
}) async {
final $payload = <String, dynamic>{
'taxRegistrationEntry': taxRegistrationEntry,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/PutSupplementalTaxRegistration',
exceptionFnMap: _exceptionFns,
);
return PutSupplementalTaxRegistrationResponse.fromJson(response);
}