import 'package:json_annotation/json_annotation.dart';

import 'package:pshared/api/responses/base.dart';
import 'package:pshared/api/responses/token.dart';
import 'package:pshared/data/dto/payment/quotes.dart';

part 'quotes.g.dart';


@JsonSerializable(explicitToJson: true)
class PaymentQuotesResponse extends BaseAuthorizedResponse {

  final PaymentQuotesDTO quote;

  const PaymentQuotesResponse({required super.accessToken, required this.quote});

  factory PaymentQuotesResponse.fromJson(Map<String, dynamic> json) => _$PaymentQuotesResponseFromJson(json);
  @override
  Map<String, dynamic> toJson() => _$PaymentQuotesResponseToJson(this);
}
