AntMerchantExpandAttachmentUploadSyncRequest.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <?php
  2. /**
  3. * ALIPAY API: ant.merchant.expand.attachment.upload.sync request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-06-03 19:46:15
  7. */
  8. class AntMerchantExpandAttachmentUploadSyncRequest
  9. {
  10. /**
  11. * 附件的业务类型
  12. **/
  13. private $bizType;
  14. /**
  15. * 附属信息,JSON格式
  16. **/
  17. private $extInfo;
  18. /**
  19. * 文件字节流
  20. **/
  21. private $fileContent;
  22. /**
  23. * 文档静态格式
  24. **/
  25. private $fileFormat;
  26. /**
  27. * 文件链接
  28. **/
  29. private $fileUrl;
  30. /**
  31. * 备注
  32. **/
  33. private $memo;
  34. /**
  35. * 附件单据号
  36. **/
  37. private $outBizNo;
  38. /**
  39. * 分区
  40. **/
  41. private $partNo;
  42. /**
  43. * 附件的业务子类型
  44. **/
  45. private $subBizType;
  46. /**
  47. * 附件子单据号
  48. **/
  49. private $subOutBizNo;
  50. private $apiParas = array();
  51. private $terminalType;
  52. private $terminalInfo;
  53. private $prodCode;
  54. private $apiVersion="1.0";
  55. private $notifyUrl;
  56. private $returnUrl;
  57. private $needEncrypt=false;
  58. public function setBizType($bizType)
  59. {
  60. $this->bizType = $bizType;
  61. $this->apiParas["biz_type"] = $bizType;
  62. }
  63. public function getBizType()
  64. {
  65. return $this->bizType;
  66. }
  67. public function setExtInfo($extInfo)
  68. {
  69. $this->extInfo = $extInfo;
  70. $this->apiParas["ext_info"] = $extInfo;
  71. }
  72. public function getExtInfo()
  73. {
  74. return $this->extInfo;
  75. }
  76. public function setFileContent($fileContent)
  77. {
  78. $this->fileContent = $fileContent;
  79. $this->apiParas["file_content"] = $fileContent;
  80. }
  81. public function getFileContent()
  82. {
  83. return $this->fileContent;
  84. }
  85. public function setFileFormat($fileFormat)
  86. {
  87. $this->fileFormat = $fileFormat;
  88. $this->apiParas["file_format"] = $fileFormat;
  89. }
  90. public function getFileFormat()
  91. {
  92. return $this->fileFormat;
  93. }
  94. public function setFileUrl($fileUrl)
  95. {
  96. $this->fileUrl = $fileUrl;
  97. $this->apiParas["file_url"] = $fileUrl;
  98. }
  99. public function getFileUrl()
  100. {
  101. return $this->fileUrl;
  102. }
  103. public function setMemo($memo)
  104. {
  105. $this->memo = $memo;
  106. $this->apiParas["memo"] = $memo;
  107. }
  108. public function getMemo()
  109. {
  110. return $this->memo;
  111. }
  112. public function setOutBizNo($outBizNo)
  113. {
  114. $this->outBizNo = $outBizNo;
  115. $this->apiParas["out_biz_no"] = $outBizNo;
  116. }
  117. public function getOutBizNo()
  118. {
  119. return $this->outBizNo;
  120. }
  121. public function setPartNo($partNo)
  122. {
  123. $this->partNo = $partNo;
  124. $this->apiParas["part_no"] = $partNo;
  125. }
  126. public function getPartNo()
  127. {
  128. return $this->partNo;
  129. }
  130. public function setSubBizType($subBizType)
  131. {
  132. $this->subBizType = $subBizType;
  133. $this->apiParas["sub_biz_type"] = $subBizType;
  134. }
  135. public function getSubBizType()
  136. {
  137. return $this->subBizType;
  138. }
  139. public function setSubOutBizNo($subOutBizNo)
  140. {
  141. $this->subOutBizNo = $subOutBizNo;
  142. $this->apiParas["sub_out_biz_no"] = $subOutBizNo;
  143. }
  144. public function getSubOutBizNo()
  145. {
  146. return $this->subOutBizNo;
  147. }
  148. public function getApiMethodName()
  149. {
  150. return "ant.merchant.expand.attachment.upload.sync";
  151. }
  152. public function setNotifyUrl($notifyUrl)
  153. {
  154. $this->notifyUrl=$notifyUrl;
  155. }
  156. public function getNotifyUrl()
  157. {
  158. return $this->notifyUrl;
  159. }
  160. public function setReturnUrl($returnUrl)
  161. {
  162. $this->returnUrl=$returnUrl;
  163. }
  164. public function getReturnUrl()
  165. {
  166. return $this->returnUrl;
  167. }
  168. public function getApiParas()
  169. {
  170. return $this->apiParas;
  171. }
  172. public function getTerminalType()
  173. {
  174. return $this->terminalType;
  175. }
  176. public function setTerminalType($terminalType)
  177. {
  178. $this->terminalType = $terminalType;
  179. }
  180. public function getTerminalInfo()
  181. {
  182. return $this->terminalInfo;
  183. }
  184. public function setTerminalInfo($terminalInfo)
  185. {
  186. $this->terminalInfo = $terminalInfo;
  187. }
  188. public function getProdCode()
  189. {
  190. return $this->prodCode;
  191. }
  192. public function setProdCode($prodCode)
  193. {
  194. $this->prodCode = $prodCode;
  195. }
  196. public function setApiVersion($apiVersion)
  197. {
  198. $this->apiVersion=$apiVersion;
  199. }
  200. public function getApiVersion()
  201. {
  202. return $this->apiVersion;
  203. }
  204. public function setNeedEncrypt($needEncrypt)
  205. {
  206. $this->needEncrypt=$needEncrypt;
  207. }
  208. public function getNeedEncrypt()
  209. {
  210. return $this->needEncrypt;
  211. }
  212. }