2022-08-26 08:11:35 +00:00
|
|
|
import 'package:decimal/decimal.dart';
|
2022-10-03 00:54:35 +00:00
|
|
|
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;
|
|
|
|
|
|
|
|
String? recipientAddress;
|
|
|
|
String? refundAddress;
|
|
|
|
|
|
|
|
String? rateId;
|
|
|
|
|
2022-10-03 00:54:35 +00:00
|
|
|
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,
|
|
|
|
this.rateId,
|
|
|
|
});
|
|
|
|
}
|