Quotation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user