+ quotation provider
This commit is contained in:
26
frontend/pshared/lib/data/dto/payment/fee_line.dart
Normal file
26
frontend/pshared/lib/data/dto/payment/fee_line.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user