import 'package:json_annotation/json_annotation.dart';

part 'russian_bank.g.dart';


@JsonSerializable()
class RussianBankAccountPaymentDataDTO {
  final String recipientName;
  final String inn;
  final String kpp;
  final String bankName;
  final String bik;
  final String accountNumber;
  final String correspondentAccount;

  const RussianBankAccountPaymentDataDTO({
    required this.recipientName,
    required this.inn,
    required this.kpp,
    required this.bankName,
    required this.bik,
    required this.accountNumber,
    required this.correspondentAccount,
  });

  factory RussianBankAccountPaymentDataDTO.fromJson(Map<String, dynamic> json) => _$RussianBankAccountPaymentDataDTOFromJson(json);
  Map<String, dynamic> toJson() => _$RussianBankAccountPaymentDataDTOToJson(this);
}
