+ quotation provider
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user