2023-01-16 00:09:11 +00:00
|
|
|
import 'package:decimal/decimal.dart';
|
|
|
|
import 'package:stackwallet/models/buy/response_objects/crypto.dart';
|
|
|
|
import 'package:stackwallet/models/buy/response_objects/fiat.dart';
|
|
|
|
|
|
|
|
class SimplexQuote {
|
|
|
|
// todo: this class
|
|
|
|
|
|
|
|
final Crypto crypto;
|
|
|
|
final Fiat fiat;
|
|
|
|
|
2023-01-17 00:08:37 +00:00
|
|
|
late final Decimal youPayFiatPrice;
|
|
|
|
late final Decimal youReceiveCryptoAmount;
|
2023-01-16 00:09:11 +00:00
|
|
|
|
2023-01-17 00:08:37 +00:00
|
|
|
late final String purchaseId;
|
|
|
|
late final String receivingAddress;
|
2023-01-16 00:09:11 +00:00
|
|
|
|
|
|
|
SimplexQuote({
|
|
|
|
required this.crypto,
|
|
|
|
required this.fiat,
|
|
|
|
required this.youPayFiatPrice,
|
|
|
|
required this.youReceiveCryptoAmount,
|
|
|
|
required this.purchaseId,
|
|
|
|
required this.receivingAddress,
|
|
|
|
});
|
|
|
|
}
|