mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-06 04:17:42 +00:00
2ad0659cbc
TODO add redirect API call which url_launcher's the redirect endpoint
26 lines
662 B
Dart
26 lines
662 B
Dart
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 {
|
|
final Crypto crypto;
|
|
final Fiat fiat;
|
|
|
|
late final Decimal youPayFiatPrice;
|
|
late final Decimal youReceiveCryptoAmount;
|
|
|
|
late final String id;
|
|
late final String receivingAddress;
|
|
|
|
late final bool buyWithFiat;
|
|
|
|
SimplexQuote({
|
|
required this.crypto,
|
|
required this.fiat,
|
|
required this.youPayFiatPrice,
|
|
required this.youReceiveCryptoAmount,
|
|
required this.id,
|
|
required this.receivingAddress,
|
|
required this.buyWithFiat,
|
|
});
|
|
}
|