AlipayInsSceneInsserviceprodSerattachmentUploadRequest.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ins.scene.insserviceprod.serattachment.upload request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-04-03 05:33:03
  7. */
  8. class AlipayInsSceneInsserviceprodSerattachmentUploadRequest
  9. {
  10. /**
  11. * 扩展信息,JSON字符串格式。该接口为通用接口,需要和增值服务中台的开发同学根据不同的业务约定不同的字段。
  12. **/
  13. private $bizData;
  14. /**
  15. * 文件业务码(业务方自定义)
  16. **/
  17. private $fileBizCode;
  18. /**
  19. * 文件内容
  20. **/
  21. private $fileContent;
  22. /**
  23. * 文件描述
  24. **/
  25. private $fileDesc;
  26. /**
  27. * 文件名称
  28. **/
  29. private $fileName;
  30. /**
  31. * 文件路径
  32. **/
  33. private $filePath;
  34. /**
  35. * 文件大小,对应java里面File的length
  36. **/
  37. private $fileSize;
  38. /**
  39. * 文件类型
  40. **/
  41. private $fileType;
  42. /**
  43. * 外部业务号
  44. **/
  45. private $outBizNo;
  46. /**
  47. * 业务单据号
  48. **/
  49. private $serBizNo;
  50. /**
  51. * 服务业务类型
  52. **/
  53. private $serBizType;
  54. /**
  55. * 上传时间
  56. **/
  57. private $uploadTime;
  58. private $apiParas = array();
  59. private $terminalType;
  60. private $terminalInfo;
  61. private $prodCode;
  62. private $apiVersion="1.0";
  63. private $notifyUrl;
  64. private $returnUrl;
  65. private $needEncrypt=false;
  66. public function setBizData($bizData)
  67. {
  68. $this->bizData = $bizData;
  69. $this->apiParas["biz_data"] = $bizData;
  70. }
  71. public function getBizData()
  72. {
  73. return $this->bizData;
  74. }
  75. public function setFileBizCode($fileBizCode)
  76. {
  77. $this->fileBizCode = $fileBizCode;
  78. $this->apiParas["file_biz_code"] = $fileBizCode;
  79. }
  80. public function getFileBizCode()
  81. {
  82. return $this->fileBizCode;
  83. }
  84. public function setFileContent($fileContent)
  85. {
  86. $this->fileContent = $fileContent;
  87. $this->apiParas["file_content"] = $fileContent;
  88. }
  89. public function getFileContent()
  90. {
  91. return $this->fileContent;
  92. }
  93. public function setFileDesc($fileDesc)
  94. {
  95. $this->fileDesc = $fileDesc;
  96. $this->apiParas["file_desc"] = $fileDesc;
  97. }
  98. public function getFileDesc()
  99. {
  100. return $this->fileDesc;
  101. }
  102. public function setFileName($fileName)
  103. {
  104. $this->fileName = $fileName;
  105. $this->apiParas["file_name"] = $fileName;
  106. }
  107. public function getFileName()
  108. {
  109. return $this->fileName;
  110. }
  111. public function setFilePath($filePath)
  112. {
  113. $this->filePath = $filePath;
  114. $this->apiParas["file_path"] = $filePath;
  115. }
  116. public function getFilePath()
  117. {
  118. return $this->filePath;
  119. }
  120. public function setFileSize($fileSize)
  121. {
  122. $this->fileSize = $fileSize;
  123. $this->apiParas["file_size"] = $fileSize;
  124. }
  125. public function getFileSize()
  126. {
  127. return $this->fileSize;
  128. }
  129. public function setFileType($fileType)
  130. {
  131. $this->fileType = $fileType;
  132. $this->apiParas["file_type"] = $fileType;
  133. }
  134. public function getFileType()
  135. {
  136. return $this->fileType;
  137. }
  138. public function setOutBizNo($outBizNo)
  139. {
  140. $this->outBizNo = $outBizNo;
  141. $this->apiParas["out_biz_no"] = $outBizNo;
  142. }
  143. public function getOutBizNo()
  144. {
  145. return $this->outBizNo;
  146. }
  147. public function setSerBizNo($serBizNo)
  148. {
  149. $this->serBizNo = $serBizNo;
  150. $this->apiParas["ser_biz_no"] = $serBizNo;
  151. }
  152. public function getSerBizNo()
  153. {
  154. return $this->serBizNo;
  155. }
  156. public function setSerBizType($serBizType)
  157. {
  158. $this->serBizType = $serBizType;
  159. $this->apiParas["ser_biz_type"] = $serBizType;
  160. }
  161. public function getSerBizType()
  162. {
  163. return $this->serBizType;
  164. }
  165. public function setUploadTime($uploadTime)
  166. {
  167. $this->uploadTime = $uploadTime;
  168. $this->apiParas["upload_time"] = $uploadTime;
  169. }
  170. public function getUploadTime()
  171. {
  172. return $this->uploadTime;
  173. }
  174. public function getApiMethodName()
  175. {
  176. return "alipay.ins.scene.insserviceprod.serattachment.upload";
  177. }
  178. public function setNotifyUrl($notifyUrl)
  179. {
  180. $this->notifyUrl=$notifyUrl;
  181. }
  182. public function getNotifyUrl()
  183. {
  184. return $this->notifyUrl;
  185. }
  186. public function setReturnUrl($returnUrl)
  187. {
  188. $this->returnUrl=$returnUrl;
  189. }
  190. public function getReturnUrl()
  191. {
  192. return $this->returnUrl;
  193. }
  194. public function getApiParas()
  195. {
  196. return $this->apiParas;
  197. }
  198. public function getTerminalType()
  199. {
  200. return $this->terminalType;
  201. }
  202. public function setTerminalType($terminalType)
  203. {
  204. $this->terminalType = $terminalType;
  205. }
  206. public function getTerminalInfo()
  207. {
  208. return $this->terminalInfo;
  209. }
  210. public function setTerminalInfo($terminalInfo)
  211. {
  212. $this->terminalInfo = $terminalInfo;
  213. }
  214. public function getProdCode()
  215. {
  216. return $this->prodCode;
  217. }
  218. public function setProdCode($prodCode)
  219. {
  220. $this->prodCode = $prodCode;
  221. }
  222. public function setApiVersion($apiVersion)
  223. {
  224. $this->apiVersion=$apiVersion;
  225. }
  226. public function getApiVersion()
  227. {
  228. return $this->apiVersion;
  229. }
  230. public function setNeedEncrypt($needEncrypt)
  231. {
  232. $this->needEncrypt=$needEncrypt;
  233. }
  234. public function getNeedEncrypt()
  235. {
  236. return $this->needEncrypt;
  237. }
  238. }