import 'package:json_annotation/json_annotation.dart'; import 'package:pshared/data/dto/payment/money.dart'; part 'fee_line.g.dart'; @JsonSerializable() class FeeLineDTO { final String? ledgerAccountRef; final MoneyDTO? amount; final String? lineType; final String? side; final Map? meta; const FeeLineDTO({ this.ledgerAccountRef, this.amount, this.lineType, this.side, this.meta, }); factory FeeLineDTO.fromJson(Map json) => _$FeeLineDTOFromJson(json); Map toJson() => _$FeeLineDTOToJson(this); }