Files
sendico/frontend/pshared/lib/data/dto/payment/fee_line.dart
2025-12-11 01:13:13 +01:00

27 lines
592 B
Dart

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<String, String>? meta;
const FeeLineDTO({
this.ledgerAccountRef,
this.amount,
this.lineType,
this.side,
this.meta,
});
factory FeeLineDTO.fromJson(Map<String, dynamic> json) => _$FeeLineDTOFromJson(json);
Map<String, dynamic> toJson() => _$FeeLineDTOToJson(this);
}