You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9 KiB

  1. using System.ComponentModel.DataAnnotations;
  2. namespace Transfast.Model.TransactionInfo
  3. {
  4. public class TransactionInfoRequest
  5. {
  6. [Required]
  7. public string PaymentModeId { get; set; }
  8. [Required]
  9. public string ReceiveCurrencyIsoCode { get; set; }
  10. public string BankId { get; set; }
  11. public string Account { get; set; }
  12. private string _AccountTypeId;
  13. public string AccountTypeId
  14. {
  15. get
  16. {
  17. if (!string.IsNullOrEmpty(_AccountTypeId) && !string.IsNullOrWhiteSpace(_AccountTypeId))
  18. {
  19. if (_AccountTypeId.ToLower().Equals("checking"))
  20. {
  21. return "C";
  22. }
  23. else
  24. {
  25. return "P";
  26. }
  27. }
  28. return null;
  29. }
  30. set { _AccountTypeId = value; }
  31. }
  32. public string BankBranchId { get; set; }
  33. public string PayingBranchId { get; set; }
  34. public string PayerId { get; set; }
  35. public string PurposeOfRemittanceId { get; set; }
  36. [Required]
  37. public string SourceCurrencyIsoCode { get; set; }
  38. public decimal Rate { get; set; }
  39. public decimal TotalSentAmount { get; set; }
  40. public decimal SentAmount { get; set; }
  41. public decimal ServiceFee { get; set; }
  42. public decimal USDServiceFee { get; set; }
  43. public decimal ReceiveAmount { get; set; }
  44. public decimal CashAmount { get; set; }
  45. public decimal Payout { get; set; }
  46. [Required]
  47. public string FormOfPaymentId { get; set; }
  48. [Required]
  49. public string ReferenceNumber { get; set; }
  50. public int SourceOfFundsID { get; set; }
  51. public string FeeProduct { get; set; }
  52. }
  53. }