+ quotation provider
This commit is contained in:
18
frontend/pshared/lib/models/payment/fees/line.dart
Normal file
18
frontend/pshared/lib/models/payment/fees/line.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:pshared/models/payment/money.dart';
|
||||
|
||||
|
||||
class FeeLine {
|
||||
final String? ledgerAccountRef;
|
||||
final Money? amount;
|
||||
final String? lineType;
|
||||
final String? side;
|
||||
final Map<String, String>? meta;
|
||||
|
||||
const FeeLine({
|
||||
required this.ledgerAccountRef,
|
||||
required this.amount,
|
||||
required this.lineType,
|
||||
required this.side,
|
||||
required this.meta,
|
||||
});
|
||||
}
|
||||
12
frontend/pshared/lib/models/payment/fees/network.dart
Normal file
12
frontend/pshared/lib/models/payment/fees/network.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:pshared/models/payment/money.dart';
|
||||
|
||||
|
||||
class NetworkFee {
|
||||
final Money? networkFee;
|
||||
final String? estimationContext;
|
||||
|
||||
const NetworkFee({
|
||||
required this.networkFee,
|
||||
required this.estimationContext,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user