25 lines
721 B
Dart
25 lines
721 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'package:pshared/data/dto/payment/money.dart';
|
|
|
|
part 'quote_aggregate.g.dart';
|
|
|
|
|
|
@JsonSerializable()
|
|
class PaymentQuoteAggregateDTO {
|
|
final List<MoneyDTO>? debitAmounts;
|
|
final List<MoneyDTO>? expectedSettlementAmounts;
|
|
final List<MoneyDTO>? expectedFeeTotals;
|
|
final List<MoneyDTO>? networkFeeTotals;
|
|
|
|
const PaymentQuoteAggregateDTO({
|
|
this.debitAmounts,
|
|
this.expectedSettlementAmounts,
|
|
this.expectedFeeTotals,
|
|
this.networkFeeTotals,
|
|
});
|
|
|
|
factory PaymentQuoteAggregateDTO.fromJson(Map<String, dynamic> json) => _$PaymentQuoteAggregateDTOFromJson(json);
|
|
Map<String, dynamic> toJson() => _$PaymentQuoteAggregateDTOToJson(this);
|
|
}
|