AlipayEbppSubscribeCheckcodeImportRequest.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. using System;
  2. using System.Collections.Generic;
  3. using Aop.Api.Response;
  4. namespace Aop.Api.Request
  5. {
  6. /// <summary>
  7. /// AOP API: alipay.ebpp.subscribe.checkcode.import
  8. /// </summary>
  9. public class AlipayEbppSubscribeCheckcodeImportRequest : IAopRequest<AlipayEbppSubscribeCheckcodeImportResponse>
  10. {
  11. /// <summary>
  12. /// 缴费户号
  13. /// </summary>
  14. public string BillKey { get; set; }
  15. /// <summary>
  16. /// 业务类型
  17. /// </summary>
  18. public string BizType { get; set; }
  19. /// <summary>
  20. /// 出账机构短名称
  21. /// </summary>
  22. public string ChargeInst { get; set; }
  23. /// <summary>
  24. /// 订阅校验码
  25. /// </summary>
  26. public string CheckCode { get; set; }
  27. /// <summary>
  28. /// 扩展字段内容
  29. /// </summary>
  30. public string ExtendField { get; set; }
  31. /// <summary>
  32. /// 子业务类型
  33. /// </summary>
  34. public string SubBizType { get; set; }
  35. #region IAopRequest Members
  36. private string apiVersion = "1.0";
  37. private string terminalType;
  38. private string terminalInfo;
  39. private string prodCode;
  40. private string notifyUrl;
  41. public void SetNotifyUrl(string notifyUrl){
  42. this.notifyUrl = notifyUrl;
  43. }
  44. public string GetNotifyUrl(){
  45. return this.notifyUrl;
  46. }
  47. public void SetTerminalType(String terminalType){
  48. this.terminalType=terminalType;
  49. }
  50. public string GetTerminalType(){
  51. return this.terminalType;
  52. }
  53. public void SetTerminalInfo(String terminalInfo){
  54. this.terminalInfo=terminalInfo;
  55. }
  56. public string GetTerminalInfo(){
  57. return this.terminalInfo;
  58. }
  59. public void SetProdCode(String prodCode){
  60. this.prodCode=prodCode;
  61. }
  62. public string GetProdCode(){
  63. return this.prodCode;
  64. }
  65. public string GetApiName()
  66. {
  67. return "alipay.ebpp.subscribe.checkcode.import";
  68. }
  69. public void SetApiVersion(string apiVersion){
  70. this.apiVersion=apiVersion;
  71. }
  72. public string GetApiVersion(){
  73. return this.apiVersion;
  74. }
  75. public IDictionary<string, string> GetParameters()
  76. {
  77. AopDictionary parameters = new AopDictionary();
  78. parameters.Add("bill_key", this.BillKey);
  79. parameters.Add("biz_type", this.BizType);
  80. parameters.Add("charge_inst", this.ChargeInst);
  81. parameters.Add("check_code", this.CheckCode);
  82. parameters.Add("extend_field", this.ExtendField);
  83. parameters.Add("sub_biz_type", this.SubBizType);
  84. return parameters;
  85. }
  86. #endregion
  87. }
  88. }