Response.cs 587 B

12345678910111213141516171819202122232425262728
  1. namespace Application.Features.Api.Studio.Wallet.GetWithdraw;
  2. public sealed record Response(
  3. int Total,
  4. int WithdrawableBalance,
  5. List<AccountInfo> Accounts,
  6. List<WithdrawItem> List
  7. );
  8. public sealed record AccountInfo(
  9. int Id,
  10. string BankName,
  11. string AccountNumber,
  12. string AccountHolder
  13. );
  14. public sealed record WithdrawItem(
  15. int Id,
  16. int RequestedAmount,
  17. int WithholdingTax,
  18. int NetAmount,
  19. string Status,
  20. string BankName,
  21. string AccountNumber,
  22. DateTime RequestedAt,
  23. DateTime? CompletedAt,
  24. string? RejectedReason
  25. );