AlipayMerchantTradecomplainFeedbackSubmitRequest.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.merchant.tradecomplain.feedback.submit request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-04-03 08:56:45
  7. */
  8. class AlipayMerchantTradecomplainFeedbackSubmitRequest
  9. {
  10. /**
  11. * 支付宝侧投诉单号
  12. **/
  13. private $complainEventId;
  14. /**
  15. * 反馈类目ID
  16. 00:使用体验保障金退款;
  17. 02:通过其他方式退款;
  18. 03:已发货;
  19. 04:其他;
  20. 05:已完成售后服务;
  21. 06:非我方责任范围;
  22. **/
  23. private $feedbackCode;
  24. /**
  25. * 反馈内容,字数不超过200个字
  26. **/
  27. private $feedbackContent;
  28. /**
  29. * 商家处理投诉时反馈凭证的图片id,多个逗号隔开(图片id可以通过"商户上传处理图片"接口获取)
  30. **/
  31. private $feedbackImages;
  32. /**
  33. * 处理投诉人,字数不超过6个字
  34. **/
  35. private $operator;
  36. private $apiParas = array();
  37. private $terminalType;
  38. private $terminalInfo;
  39. private $prodCode;
  40. private $apiVersion="1.0";
  41. private $notifyUrl;
  42. private $returnUrl;
  43. private $needEncrypt=false;
  44. public function setComplainEventId($complainEventId)
  45. {
  46. $this->complainEventId = $complainEventId;
  47. $this->apiParas["complain_event_id"] = $complainEventId;
  48. }
  49. public function getComplainEventId()
  50. {
  51. return $this->complainEventId;
  52. }
  53. public function setFeedbackCode($feedbackCode)
  54. {
  55. $this->feedbackCode = $feedbackCode;
  56. $this->apiParas["feedback_code"] = $feedbackCode;
  57. }
  58. public function getFeedbackCode()
  59. {
  60. return $this->feedbackCode;
  61. }
  62. public function setFeedbackContent($feedbackContent)
  63. {
  64. $this->feedbackContent = $feedbackContent;
  65. $this->apiParas["feedback_content"] = $feedbackContent;
  66. }
  67. public function getFeedbackContent()
  68. {
  69. return $this->feedbackContent;
  70. }
  71. public function setFeedbackImages($feedbackImages)
  72. {
  73. $this->feedbackImages = $feedbackImages;
  74. $this->apiParas["feedback_images"] = $feedbackImages;
  75. }
  76. public function getFeedbackImages()
  77. {
  78. return $this->feedbackImages;
  79. }
  80. public function setOperator($operator)
  81. {
  82. $this->operator = $operator;
  83. $this->apiParas["operator"] = $operator;
  84. }
  85. public function getOperator()
  86. {
  87. return $this->operator;
  88. }
  89. public function getApiMethodName()
  90. {
  91. return "alipay.merchant.tradecomplain.feedback.submit";
  92. }
  93. public function setNotifyUrl($notifyUrl)
  94. {
  95. $this->notifyUrl=$notifyUrl;
  96. }
  97. public function getNotifyUrl()
  98. {
  99. return $this->notifyUrl;
  100. }
  101. public function setReturnUrl($returnUrl)
  102. {
  103. $this->returnUrl=$returnUrl;
  104. }
  105. public function getReturnUrl()
  106. {
  107. return $this->returnUrl;
  108. }
  109. public function getApiParas()
  110. {
  111. return $this->apiParas;
  112. }
  113. public function getTerminalType()
  114. {
  115. return $this->terminalType;
  116. }
  117. public function setTerminalType($terminalType)
  118. {
  119. $this->terminalType = $terminalType;
  120. }
  121. public function getTerminalInfo()
  122. {
  123. return $this->terminalInfo;
  124. }
  125. public function setTerminalInfo($terminalInfo)
  126. {
  127. $this->terminalInfo = $terminalInfo;
  128. }
  129. public function getProdCode()
  130. {
  131. return $this->prodCode;
  132. }
  133. public function setProdCode($prodCode)
  134. {
  135. $this->prodCode = $prodCode;
  136. }
  137. public function setApiVersion($apiVersion)
  138. {
  139. $this->apiVersion=$apiVersion;
  140. }
  141. public function getApiVersion()
  142. {
  143. return $this->apiVersion;
  144. }
  145. public function setNeedEncrypt($needEncrypt)
  146. {
  147. $this->needEncrypt=$needEncrypt;
  148. }
  149. public function getNeedEncrypt()
  150. {
  151. return $this->needEncrypt;
  152. }
  153. }