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.

74 lines
2.9 KiB

1 year ago
  1. namespace Common.Model.KFTCRegistration
  2. {
  3. public class DomeRimitRequestModel
  4. {
  5. public string UserId { get; set; }
  6. public string CustomerId { get; set; }
  7. public string AccessToken { get; set; }
  8. public string FintechUseNo { get; set; }
  9. public string SentAmount { get; set; }
  10. public string RecipientBankCode { get; set; }
  11. public string RecipientAccountNo { get; set; }
  12. public string RecipientName { get; set; }
  13. public string RecipientPhone { get; set; }
  14. public string ServiceFee { get; set; }
  15. public bool isUseBiometric { get; set; }
  16. public string txnPassword { get; set; }
  17. public string KftcAccountId { get; set; }
  18. public string type { get; set; }
  19. }
  20. public class DomesticRemitModel
  21. {
  22. public string UserId { get; set; }
  23. public string CustomerId { get; set; }
  24. public string AccessToken { get; set; }
  25. public string FintechUseNo { get; set; }
  26. public string SentAmount { get; set; }
  27. public string RecipientBankCode { get; set; }
  28. public string RecipientAccountNo { get; set; }
  29. public string RecipientName { get; set; }
  30. public string RecipientPhone { get; set; }
  31. public string ServiceFee { get; set; }
  32. public bool isUseBiometric { get; set; }
  33. public string txnPassword { get; set; }
  34. public string KftcAccountId { get; set; }
  35. public string type { get; set; } //autodebit 또는 wallet
  36. public string transferType { get; set; } //withdraw, deposit, refund
  37. /////
  38. public string processId { get; set; }
  39. public string senderBankCode { get; set; }
  40. public string senderAccountNo { get; set; }
  41. public string senderName { get; set; }
  42. public void SetRequestData(DomeRimitRequestModel req)
  43. {
  44. this.UserId = req.UserId;
  45. this.CustomerId = req.CustomerId;
  46. this.AccessToken = req.AccessToken;
  47. this.FintechUseNo = req.FintechUseNo;
  48. this.SentAmount = req.SentAmount;
  49. this.RecipientBankCode = req.RecipientBankCode;
  50. this.RecipientAccountNo = req.RecipientAccountNo;
  51. this.RecipientName = req.RecipientName;
  52. this.RecipientPhone = req.RecipientPhone;
  53. this.ServiceFee = req.ServiceFee;
  54. this.isUseBiometric = req.isUseBiometric;
  55. this.txnPassword = req.txnPassword;
  56. this.KftcAccountId = req.KftcAccountId;
  57. this.type = req.type;
  58. this.UserId = req.UserId;
  59. this.processId = "";
  60. }
  61. public void SetSenderData(string senderName, string senderBankCode, string senderAccountNo)
  62. {
  63. this.senderName = senderName;
  64. this.senderBankCode = senderBankCode;
  65. this.senderAccountNo = senderAccountNo;
  66. }
  67. }
  68. }