Quotation

This commit is contained in:
Arseni
2026-01-21 21:52:36 +03:00
parent 1e5ff51e07
commit 6284625977
40 changed files with 1085 additions and 346 deletions

View File

@@ -11,11 +11,15 @@ part 'quotation.g.dart';
class PaymentQuoteResponse extends BaseAuthorizedResponse {
final PaymentQuoteDTO quote;
final String idempotencyKey;
final String? idempotencyKey;
const PaymentQuoteResponse({required super.accessToken, required this.idempotencyKey, required this.quote});
const PaymentQuoteResponse({
required super.accessToken,
required this.quote,
this.idempotencyKey,
});
factory PaymentQuoteResponse.fromJson(Map<String, dynamic> json) => _$PaymentQuoteResponseFromJson(json);
@override
Map<String, dynamic> toJson() => _$PaymentQuoteResponseToJson(this);
}
}