getQuote method

Future<GetQuoteOutput> getQuote({
  1. required String quoteIdentifier,
})

Gets information about the specified quote.

May throw AccessDeniedException. May throw InternalServerException. May throw NotFoundException. May throw ValidationException.

Parameter quoteIdentifier : The ID of the quote.

Implementation

Future<GetQuoteOutput> getQuote({
  required String quoteIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/quotes/${Uri.encodeComponent(quoteIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetQuoteOutput.fromJson(response);
}