RazorpayCustomerBankAccount constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayCustomerBankAccount({
  1. String? id,
  2. String? entity,
  3. String? ifsc,
  4. String? bank_name,
  5. String? account_number,
  6. String? name,
  7. IMap? notes,
  8. String? success,
  9. String? status,
  10. String? username,
  11. String? handle,
  12. String? address,
  13. String? short_url,
  14. String? reference,
  15. int? updated_at,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayCustomerBankAccount({
  // Fields from RazorpayVirtualAccountReceiver (nullable based on Partial)
  String? id,
  String? entity,
  String? ifsc,
  String? bank_name,
  String? account_number,
  String? name,
  IMap<dynamic>? notes, // Assuming notes from Receiver if needed

  // Field specific to this response type in d.ts
  String? success, // Or bool? depending on actual API response

  // Potentially other fields if needed based on VirtualAccounts definition
  String? status, // from Receiver
  String? username, // from Receiver
  String? handle, // from Receiver
  String? address, // from Receiver
  String? short_url, // from Receiver
  String? reference, // from Receiver
  int? updated_at, // from Receiver
}) = _RazorpayCustomerBankAccount;