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.

51 lines
1.2 KiB

  1. using Common.Models.RequestResponse;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace Common.Models.TxnModel
  4. {
  5. public class SendTransaction : CommonRequest
  6. {
  7. public string RequestedBy { get; set; }
  8. public int TranId { get; set; }
  9. public bool isTxnAlreadyCreated { get; set; }
  10. public string ExRateConfirmId { get; set; }
  11. #region SenderInformation
  12. [Required]
  13. public TxnSender Sender { get; set; }
  14. #endregion SenderInformation
  15. #region receiveInformtaion
  16. [Required]
  17. public TxnReceiver Receiver { get; set; }
  18. #endregion receiveInformtaion
  19. #region txnInformation
  20. [Required]
  21. public TxnTransaction Transaction { get; set; }
  22. #endregion txnInformation
  23. #region agentInformation
  24. [Required]
  25. public TxnAgent Agent { get; set; }
  26. #endregion agentInformation
  27. public bool IsRealtime { get; set; }
  28. [MaxLength(1)]
  29. public string IsManualSc { get; set; }
  30. public decimal ManualSc { get; set; }
  31. public bool IsApproveTxn { get; set; }
  32. public bool IsAccValSupported { get; set; }
  33. }
  34. }