AlipayEcapiprodDataPutRequest.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ecapiprod.data.put request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2015-04-02 16:45:23
  7. */
  8. class AlipayEcapiprodDataPutRequest
  9. {
  10. /**
  11. * 数据类型
  12. **/
  13. private $category;
  14. /**
  15. * 数据字符编码,默认UTF-8
  16. **/
  17. private $charSet;
  18. /**
  19. * 数据采集平台生成的采集任务编号
  20. **/
  21. private $collectingTaskId;
  22. /**
  23. * 身份证,工商注册号等
  24. **/
  25. private $entityCode;
  26. /**
  27. * 姓名或公司名等,name和code不能同时为空
  28. **/
  29. private $entityName;
  30. /**
  31. * 人或公司等
  32. **/
  33. private $entityType;
  34. /**
  35. * 渠道商
  36. **/
  37. private $isvCode;
  38. /**
  39. * 数据主体,以json格式传输的数据
  40. **/
  41. private $jsonData;
  42. /**
  43. * 数据合作方
  44. **/
  45. private $orgCode;
  46. private $apiParas = array();
  47. private $terminalType;
  48. private $terminalInfo;
  49. private $prodCode;
  50. private $apiVersion="1.0";
  51. private $notifyUrl;
  52. private $returnUrl;
  53. private $needEncrypt=false;
  54. public function setCategory($category)
  55. {
  56. $this->category = $category;
  57. $this->apiParas["category"] = $category;
  58. }
  59. public function getCategory()
  60. {
  61. return $this->category;
  62. }
  63. public function setCharSet($charSet)
  64. {
  65. $this->charSet = $charSet;
  66. $this->apiParas["char_set"] = $charSet;
  67. }
  68. public function getCharSet()
  69. {
  70. return $this->charSet;
  71. }
  72. public function setCollectingTaskId($collectingTaskId)
  73. {
  74. $this->collectingTaskId = $collectingTaskId;
  75. $this->apiParas["collecting_task_id"] = $collectingTaskId;
  76. }
  77. public function getCollectingTaskId()
  78. {
  79. return $this->collectingTaskId;
  80. }
  81. public function setEntityCode($entityCode)
  82. {
  83. $this->entityCode = $entityCode;
  84. $this->apiParas["entity_code"] = $entityCode;
  85. }
  86. public function getEntityCode()
  87. {
  88. return $this->entityCode;
  89. }
  90. public function setEntityName($entityName)
  91. {
  92. $this->entityName = $entityName;
  93. $this->apiParas["entity_name"] = $entityName;
  94. }
  95. public function getEntityName()
  96. {
  97. return $this->entityName;
  98. }
  99. public function setEntityType($entityType)
  100. {
  101. $this->entityType = $entityType;
  102. $this->apiParas["entity_type"] = $entityType;
  103. }
  104. public function getEntityType()
  105. {
  106. return $this->entityType;
  107. }
  108. public function setIsvCode($isvCode)
  109. {
  110. $this->isvCode = $isvCode;
  111. $this->apiParas["isv_code"] = $isvCode;
  112. }
  113. public function getIsvCode()
  114. {
  115. return $this->isvCode;
  116. }
  117. public function setJsonData($jsonData)
  118. {
  119. $this->jsonData = $jsonData;
  120. $this->apiParas["json_data"] = $jsonData;
  121. }
  122. public function getJsonData()
  123. {
  124. return $this->jsonData;
  125. }
  126. public function setOrgCode($orgCode)
  127. {
  128. $this->orgCode = $orgCode;
  129. $this->apiParas["org_code"] = $orgCode;
  130. }
  131. public function getOrgCode()
  132. {
  133. return $this->orgCode;
  134. }
  135. public function getApiMethodName()
  136. {
  137. return "alipay.ecapiprod.data.put";
  138. }
  139. public function setNotifyUrl($notifyUrl)
  140. {
  141. $this->notifyUrl=$notifyUrl;
  142. }
  143. public function getNotifyUrl()
  144. {
  145. return $this->notifyUrl;
  146. }
  147. public function setReturnUrl($returnUrl)
  148. {
  149. $this->returnUrl=$returnUrl;
  150. }
  151. public function getReturnUrl()
  152. {
  153. return $this->returnUrl;
  154. }
  155. public function getApiParas()
  156. {
  157. return $this->apiParas;
  158. }
  159. public function getTerminalType()
  160. {
  161. return $this->terminalType;
  162. }
  163. public function setTerminalType($terminalType)
  164. {
  165. $this->terminalType = $terminalType;
  166. }
  167. public function getTerminalInfo()
  168. {
  169. return $this->terminalInfo;
  170. }
  171. public function setTerminalInfo($terminalInfo)
  172. {
  173. $this->terminalInfo = $terminalInfo;
  174. }
  175. public function getProdCode()
  176. {
  177. return $this->prodCode;
  178. }
  179. public function setProdCode($prodCode)
  180. {
  181. $this->prodCode = $prodCode;
  182. }
  183. public function setApiVersion($apiVersion)
  184. {
  185. $this->apiVersion=$apiVersion;
  186. }
  187. public function getApiVersion()
  188. {
  189. return $this->apiVersion;
  190. }
  191. public function setNeedEncrypt($needEncrypt)
  192. {
  193. $this->needEncrypt=$needEncrypt;
  194. }
  195. public function getNeedEncrypt()
  196. {
  197. return $this->needEncrypt;
  198. }
  199. }