This commit is contained in:
Arseni
2026-01-22 00:00:42 +03:00
parent 6284625977
commit 636afe5d25
4 changed files with 14 additions and 18 deletions

View File

@@ -34,6 +34,8 @@ class QuotationService {
'/multiquote/$organizationRef',
request.toJson(),
);
return PaymentQuotesResponse.fromJson(response).quote.toDomain();
final parsed = PaymentQuotesResponse.fromJson(response);
final idempotencyKey = response['idempotencyKey'] as String?;
return parsed.quote.toDomain(idempotencyKey: idempotencyKey);
}
}