stack_wallet/lib/models/buy/response_objects/order.dart
sneurlax 2ad0659cbc add SimplexOrder model and return it from simplex API
TODO add redirect API call which url_launcher's the redirect endpoint
2023-01-19 23:10:15 -06:00

17 lines
402 B
Dart

import 'package:stackwallet/models/buy/response_objects/quote.dart';
class SimplexOrder {
final SimplexQuote quote;
late final String paymentId;
late final String orderId;
late final String userId;
// TODO remove after userIds are sourced from isar/storage
SimplexOrder({
required this.quote,
required this.paymentId,
required this.orderId,
required this.userId,
});
}