AlipayMpointprodBenefitDetailGetRequest.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.mpointprod.benefit.detail.get request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2015-01-29 15:46:36
  7. */
  8. class AlipayMpointprodBenefitDetailGetRequest
  9. {
  10. /**
  11. * 消息体内容,JSON格式,不含换行、空格
  12. 参数:
  13. userId: 支付用户ID, 可以直接传递openId
  14. benefitType: 权益类型,支持(MemberGrade:会员等级)
  15. benefitStatus: 状态只支持(VALID:生效、WAIT:待生效、INVALID:失效), 默认:全部
  16. **/
  17. private $bizContent;
  18. private $apiParas = array();
  19. private $terminalType;
  20. private $terminalInfo;
  21. private $prodCode;
  22. private $apiVersion="1.0";
  23. private $notifyUrl;
  24. private $returnUrl;
  25. private $needEncrypt=false;
  26. public function setBizContent($bizContent)
  27. {
  28. $this->bizContent = $bizContent;
  29. $this->apiParas["biz_content"] = $bizContent;
  30. }
  31. public function getBizContent()
  32. {
  33. return $this->bizContent;
  34. }
  35. public function getApiMethodName()
  36. {
  37. return "alipay.mpointprod.benefit.detail.get";
  38. }
  39. public function setNotifyUrl($notifyUrl)
  40. {
  41. $this->notifyUrl=$notifyUrl;
  42. }
  43. public function getNotifyUrl()
  44. {
  45. return $this->notifyUrl;
  46. }
  47. public function setReturnUrl($returnUrl)
  48. {
  49. $this->returnUrl=$returnUrl;
  50. }
  51. public function getReturnUrl()
  52. {
  53. return $this->returnUrl;
  54. }
  55. public function getApiParas()
  56. {
  57. return $this->apiParas;
  58. }
  59. public function getTerminalType()
  60. {
  61. return $this->terminalType;
  62. }
  63. public function setTerminalType($terminalType)
  64. {
  65. $this->terminalType = $terminalType;
  66. }
  67. public function getTerminalInfo()
  68. {
  69. return $this->terminalInfo;
  70. }
  71. public function setTerminalInfo($terminalInfo)
  72. {
  73. $this->terminalInfo = $terminalInfo;
  74. }
  75. public function getProdCode()
  76. {
  77. return $this->prodCode;
  78. }
  79. public function setProdCode($prodCode)
  80. {
  81. $this->prodCode = $prodCode;
  82. }
  83. public function setApiVersion($apiVersion)
  84. {
  85. $this->apiVersion=$apiVersion;
  86. }
  87. public function getApiVersion()
  88. {
  89. return $this->apiVersion;
  90. }
  91. public function setNeedEncrypt($needEncrypt)
  92. {
  93. $this->needEncrypt=$needEncrypt;
  94. }
  95. public function getNeedEncrypt()
  96. {
  97. return $this->needEncrypt;
  98. }
  99. }