+ quotation provider

This commit is contained in:
Stephan D
2025-12-11 01:13:13 +01:00
parent bdf766075e
commit a4481fb63d
102 changed files with 2242 additions and 246 deletions

View File

@@ -1,18 +1,21 @@
import 'package:pshared/models/payment/methods/data.dart';
import 'package:pshared/models/payment/asset.dart';
import 'package:pshared/models/payment/type.dart';
class CryptoAddressPaymentMethod extends PaymentMethodData {
class CryptoAddressPaymentMethod implements PaymentMethodData {
@override
final PaymentType type = PaymentType.cryptoAddress;
final PaymentType type = PaymentType.externalChain;
final PaymentAsset? asset;
final String address;
final String network;
final String? destinationTag;
final String? memo;
@override
final Map<String, String>? metadata;
CryptoAddressPaymentMethod({
const CryptoAddressPaymentMethod({
this.asset,
required this.address,
required this.network,
this.destinationTag,
this.memo,
this.metadata,
});
}