V2MerchantDirectAlipayAppauthtokenExchangeRequest.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. using System;
  2. namespace BasePaySdk.Request
  3. {
  4. /**
  5. * 支付宝直连-换取应用授权令牌
  6. *
  7. * @author sdk-generator
  8. * @Description
  9. */
  10. public class V2MerchantDirectAlipayAppauthtokenExchangeRequest : BaseRequest
  11. {
  12. /**
  13. * 请求流水号
  14. */
  15. private string reqSeqId;
  16. /**
  17. * 请求日期
  18. */
  19. private string reqDate;
  20. /**
  21. * 汇付ID
  22. */
  23. private string huifuId;
  24. /**
  25. * 开发者的应用ID
  26. */
  27. private string appId;
  28. /**
  29. * 操作类型
  30. */
  31. private string operType;
  32. /**
  33. * 授权码授权码,操作类型为0-换取令牌时必填,其它选填;<font color="green">示例值:123</font>
  34. */
  35. private string appAuthCode;
  36. /**
  37. * 应用授权令牌应用授权令牌,操作类型为1-刷新令牌时,且该字段有值,将与数据库值进行校验;<font color="green">示例值:202208200312104378</font>
  38. */
  39. private string appAuthToken;
  40. public override string getFunctionCode() {
  41. return FunctionCodeEnum.V2_MERCHANT_DIRECT_ALIPAY_APPAUTHTOKEN_EXCHANGE;
  42. }
  43. public V2MerchantDirectAlipayAppauthtokenExchangeRequest() {
  44. }
  45. public V2MerchantDirectAlipayAppauthtokenExchangeRequest(string reqSeqId, string reqDate, string huifuId, string appId, string operType, string appAuthCode, string appAuthToken) {
  46. this.reqSeqId = reqSeqId;
  47. this.reqDate = reqDate;
  48. this.huifuId = huifuId;
  49. this.appId = appId;
  50. this.operType = operType;
  51. this.appAuthCode = appAuthCode;
  52. this.appAuthToken = appAuthToken;
  53. }
  54. public string getReqSeqId() {
  55. return reqSeqId;
  56. }
  57. public void setReqSeqId(string reqSeqId) {
  58. this.reqSeqId = reqSeqId;
  59. }
  60. public string getReqDate() {
  61. return reqDate;
  62. }
  63. public void setReqDate(string reqDate) {
  64. this.reqDate = reqDate;
  65. }
  66. public string getHuifuId() {
  67. return huifuId;
  68. }
  69. public void setHuifuId(string huifuId) {
  70. this.huifuId = huifuId;
  71. }
  72. public string getAppId() {
  73. return appId;
  74. }
  75. public void setAppId(string appId) {
  76. this.appId = appId;
  77. }
  78. public string getOperType() {
  79. return operType;
  80. }
  81. public void setOperType(string operType) {
  82. this.operType = operType;
  83. }
  84. public string getAppAuthCode() {
  85. return appAuthCode;
  86. }
  87. public void setAppAuthCode(string appAuthCode) {
  88. this.appAuthCode = appAuthCode;
  89. }
  90. public string getAppAuthToken() {
  91. return appAuthToken;
  92. }
  93. public void setAppAuthToken(string appAuthToken) {
  94. this.appAuthToken = appAuthToken;
  95. }
  96. }
  97. }