putTaxInheritance method

Future<void> putTaxInheritance({
  1. HeritageStatus? heritageStatus,
})

The updated tax inheritance status.

May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter heritageStatus : The tax inheritance status.

Implementation

Future<void> putTaxInheritance({
  HeritageStatus? heritageStatus,
}) async {
  final $payload = <String, dynamic>{
    if (heritageStatus != null) 'heritageStatus': heritageStatus.value,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/PutTaxInheritance',
    exceptionFnMap: _exceptionFns,
  );
}