getOrderBillingPreferences function
GET /api/{api_version}/orders/{order_id}/billing_preferences
Implementation
Future<ApiResponse<OrderBillingPreferences>> getOrderBillingPreferences(
ExsitedClient client,
Object orderId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(OrdersUrls.orderBillingPreferences,
pathParams: {'order_id': orderId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: OrderBillingPreferences.fromMap);