getOrderLine function
GET /api/{api_version}/orders/{order_id}/lines/{line_uuid}
Implementation
Future<ApiResponse<OrderLine>> getOrderLine(
ExsitedClient client,
Object orderId,
Object lineUuid, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(OrdersUrls.orderLine,
pathParams: {'order_id': orderId, 'line_uuid': lineUuid},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: OrderLine.fromMap);