getOrder method
Gets information about the specified order.
May throw InternalServerException.
May throw NotFoundException.
May throw ValidationException.
Parameter orderId :
The ID of the order.
Implementation
Future<GetOrderOutput> getOrder({
required String orderId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/orders/${Uri.encodeComponent(orderId)}',
exceptionFnMap: _exceptionFns,
);
return GetOrderOutput.fromJson(response);
}