AlipayMobilePublicMultiMediaDownloadRequest.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Text;
  5. using Aop.Api.Response;
  6. namespace Aop.Api.Request
  7. {
  8. public class AlipayMobilePublicMultiMediaDownloadRequest : IAopRequest<AlipayMobilePublicMultiMediaDownloadResponse>
  9. {
  10. public string BizContent { get; set; }
  11. public Stream stream { set; get; }
  12. #region IAopRequest Members
  13. private string apiVersion = "1.0";
  14. private string terminalType;
  15. private string terminalInfo;
  16. private string prodCode;
  17. private string notifyUrl;
  18. private bool needEncrypt = false;
  19. private AopObject bizModel;
  20. public void SetNeedEncrypt(bool needEncrypt)
  21. {
  22. this.needEncrypt = needEncrypt;
  23. }
  24. public bool GetNeedEncrypt()
  25. {
  26. return this.needEncrypt;
  27. }
  28. public void SetNotifyUrl(string notifyUrl)
  29. {
  30. this.notifyUrl = notifyUrl;
  31. }
  32. public string GetNotifyUrl()
  33. {
  34. return this.notifyUrl;
  35. }
  36. public void SetApiVersion(string apiVersion)
  37. {
  38. this.apiVersion = apiVersion;
  39. }
  40. public string GetApiVersion()
  41. {
  42. return this.apiVersion;
  43. }
  44. public void SetTerminalType(string terminalType)
  45. {
  46. this.terminalType = terminalType;
  47. }
  48. public string GetTerminalType()
  49. {
  50. return this.terminalType;
  51. }
  52. public void SetTerminalInfo(string terminalInfo)
  53. {
  54. this.terminalInfo = terminalInfo;
  55. }
  56. public string GetTerminalInfo()
  57. {
  58. return this.terminalInfo;
  59. }
  60. public void SetProdCode(string prodCode)
  61. {
  62. this.prodCode = prodCode;
  63. }
  64. public string GetProdCode()
  65. {
  66. return this.prodCode;
  67. }
  68. public string GetApiName()
  69. {
  70. return "alipay.mobile.public.multimedia.download";
  71. }
  72. public IDictionary<string, string> GetParameters()
  73. {
  74. AopDictionary parameters = new AopDictionary();
  75. parameters.Add("biz_content", this.BizContent);
  76. return parameters;
  77. }
  78. public AopObject GetBizModel()
  79. {
  80. return this.bizModel;
  81. }
  82. public void SetBizModel(AopObject bizModel)
  83. {
  84. this.bizModel = bizModel;
  85. }
  86. #endregion
  87. }
  88. }