stack_wallet/lib/models/exchange/incomplete_exchange.dart

36 lines
790 B
Dart
Raw Normal View History

2022-08-26 08:11:35 +00:00
import 'package:decimal/decimal.dart';
import 'package:stackwallet/models/exchange/response_objects/trade.dart';
2022-08-26 08:11:35 +00:00
import 'package:stackwallet/pages/exchange_view/sub_widgets/exchange_rate_sheet.dart';
class IncompleteExchangeModel {
final String sendTicker;
final String receiveTicker;
final String rateInfo;
final Decimal sendAmount;
final Decimal receiveAmount;
final ExchangeRateType rateType;
final bool reversed;
2022-08-26 08:11:35 +00:00
String? recipientAddress;
String? refundAddress;
String? rateId;
Trade? trade;
2022-08-26 08:11:35 +00:00
IncompleteExchangeModel({
required this.sendTicker,
required this.receiveTicker,
required this.rateInfo,
required this.sendAmount,
required this.receiveAmount,
required this.rateType,
required this.reversed,
2022-08-26 08:11:35 +00:00
this.rateId,
});
}