+ quotation provider
This commit is contained in:
18
frontend/pshared/lib/models/payment/methods/ledger.dart
Normal file
18
frontend/pshared/lib/models/payment/methods/ledger.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:pshared/models/payment/methods/data.dart';
|
||||
import 'package:pshared/models/payment/type.dart';
|
||||
|
||||
|
||||
class LedgerPaymentMethod implements PaymentMethodData {
|
||||
@override
|
||||
final PaymentType type = PaymentType.ledger;
|
||||
final String ledgerAccountRef;
|
||||
final String? contraLedgerAccountRef;
|
||||
@override
|
||||
final Map<String, String>? metadata;
|
||||
|
||||
const LedgerPaymentMethod({
|
||||
required this.ledgerAccountRef,
|
||||
this.contraLedgerAccountRef,
|
||||
this.metadata,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user