+ quotation provider

This commit is contained in:
Stephan D
2025-12-11 01:13:13 +01:00
parent bdf766075e
commit a4481fb63d
102 changed files with 2242 additions and 246 deletions

View File

@@ -4,17 +4,28 @@ part 'card.g.dart';
@JsonSerializable()
class CardPaymentDataDTO {
class CardEndpointDTO {
final String pan;
final String firstName;
final String lastName;
const CardPaymentDataDTO({
@JsonKey(name: 'exp_month')
final int? expMonth;
@JsonKey(name: 'exp_year')
final int? expYear;
final String? country;
const CardEndpointDTO({
required this.pan,
required this.firstName,
required this.lastName,
required this.expMonth,
required this.expYear,
this.country,
});
factory CardPaymentDataDTO.fromJson(Map<String, dynamic> json) => _$CardPaymentDataDTOFromJson(json);
Map<String, dynamic> toJson() => _$CardPaymentDataDTOToJson(this);
factory CardEndpointDTO.fromJson(Map<String, dynamic> json) => _$CardEndpointDTOFromJson(json);
Map<String, dynamic> toJson() => _$CardEndpointDTOToJson(this);
}