2023-05-26 21:21:16 +00:00
|
|
|
/*
|
|
|
|
* This file is part of Stack Wallet.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2023 Cypher Stack
|
|
|
|
* All Rights Reserved.
|
|
|
|
* The code is distributed under GPLv3 license, see LICENSE file for details.
|
|
|
|
* Generated by Cypher Stack on 2023-05-26
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-01-16 00:09:11 +00:00
|
|
|
import 'package:decimal/decimal.dart';
|
2024-05-23 00:37:06 +00:00
|
|
|
import 'crypto.dart';
|
|
|
|
import 'fiat.dart';
|
2023-01-16 00:09:11 +00:00
|
|
|
|
|
|
|
class SimplexQuote {
|
|
|
|
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-19 23:47:27 +00:00
|
|
|
late final String id;
|
2023-01-17 00:08:37 +00:00
|
|
|
late final String receivingAddress;
|
2023-01-16 00:09:11 +00:00
|
|
|
|
2023-01-19 19:36:05 +00:00
|
|
|
late final bool buyWithFiat;
|
|
|
|
|
2023-01-20 05:10:15 +00:00
|
|
|
SimplexQuote({
|
|
|
|
required this.crypto,
|
|
|
|
required this.fiat,
|
|
|
|
required this.youPayFiatPrice,
|
|
|
|
required this.youReceiveCryptoAmount,
|
|
|
|
required this.id,
|
|
|
|
required this.receivingAddress,
|
|
|
|
required this.buyWithFiat,
|
|
|
|
});
|
2023-01-16 00:09:11 +00:00
|
|
|
}
|