AlipayEbppIndustryJobContractCreateRequest.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.industry.job.contract.create request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-06-06 21:21:57
  7. */
  8. class AlipayEbppIndustryJobContractCreateRequest
  9. {
  10. /**
  11. * 企业列表
  12. **/
  13. private $companyList;
  14. /**
  15. * 合同签署失败时的跳转地址,如果不做单独配置,默认与redirect_url一致
  16. **/
  17. private $failureRedirectUrl;
  18. /**
  19. * 上传文件的二进制流
  20. **/
  21. private $fileContent;
  22. /**
  23. * 签署状态变更时的通知地址
  24. **/
  25. private $noticeUrl;
  26. /**
  27. * 外部订单号
  28. **/
  29. private $outerBizNo;
  30. /**
  31. * 签署成功后的重定向跳转地址
  32. **/
  33. private $redirectUrl;
  34. /**
  35. * 签署平台: H5 或者 ALIPAY
  36. **/
  37. private $signPlatform;
  38. /**
  39. * 合同用户列表
  40. **/
  41. private $userList;
  42. private $apiParas = array();
  43. private $terminalType;
  44. private $terminalInfo;
  45. private $prodCode;
  46. private $apiVersion="1.0";
  47. private $notifyUrl;
  48. private $returnUrl;
  49. private $needEncrypt=false;
  50. public function setCompanyList($companyList)
  51. {
  52. $this->companyList = $companyList;
  53. $this->apiParas["company_list"] = $companyList;
  54. }
  55. public function getCompanyList()
  56. {
  57. return $this->companyList;
  58. }
  59. public function setFailureRedirectUrl($failureRedirectUrl)
  60. {
  61. $this->failureRedirectUrl = $failureRedirectUrl;
  62. $this->apiParas["failure_redirect_url"] = $failureRedirectUrl;
  63. }
  64. public function getFailureRedirectUrl()
  65. {
  66. return $this->failureRedirectUrl;
  67. }
  68. public function setFileContent($fileContent)
  69. {
  70. $this->fileContent = $fileContent;
  71. $this->apiParas["file_content"] = $fileContent;
  72. }
  73. public function getFileContent()
  74. {
  75. return $this->fileContent;
  76. }
  77. public function setNoticeUrl($noticeUrl)
  78. {
  79. $this->noticeUrl = $noticeUrl;
  80. $this->apiParas["notice_url"] = $noticeUrl;
  81. }
  82. public function getNoticeUrl()
  83. {
  84. return $this->noticeUrl;
  85. }
  86. public function setOuterBizNo($outerBizNo)
  87. {
  88. $this->outerBizNo = $outerBizNo;
  89. $this->apiParas["outer_biz_no"] = $outerBizNo;
  90. }
  91. public function getOuterBizNo()
  92. {
  93. return $this->outerBizNo;
  94. }
  95. public function setRedirectUrl($redirectUrl)
  96. {
  97. $this->redirectUrl = $redirectUrl;
  98. $this->apiParas["redirect_url"] = $redirectUrl;
  99. }
  100. public function getRedirectUrl()
  101. {
  102. return $this->redirectUrl;
  103. }
  104. public function setSignPlatform($signPlatform)
  105. {
  106. $this->signPlatform = $signPlatform;
  107. $this->apiParas["sign_platform"] = $signPlatform;
  108. }
  109. public function getSignPlatform()
  110. {
  111. return $this->signPlatform;
  112. }
  113. public function setUserList($userList)
  114. {
  115. $this->userList = $userList;
  116. $this->apiParas["user_list"] = $userList;
  117. }
  118. public function getUserList()
  119. {
  120. return $this->userList;
  121. }
  122. public function getApiMethodName()
  123. {
  124. return "alipay.ebpp.industry.job.contract.create";
  125. }
  126. public function setNotifyUrl($notifyUrl)
  127. {
  128. $this->notifyUrl=$notifyUrl;
  129. }
  130. public function getNotifyUrl()
  131. {
  132. return $this->notifyUrl;
  133. }
  134. public function setReturnUrl($returnUrl)
  135. {
  136. $this->returnUrl=$returnUrl;
  137. }
  138. public function getReturnUrl()
  139. {
  140. return $this->returnUrl;
  141. }
  142. public function getApiParas()
  143. {
  144. return $this->apiParas;
  145. }
  146. public function getTerminalType()
  147. {
  148. return $this->terminalType;
  149. }
  150. public function setTerminalType($terminalType)
  151. {
  152. $this->terminalType = $terminalType;
  153. }
  154. public function getTerminalInfo()
  155. {
  156. return $this->terminalInfo;
  157. }
  158. public function setTerminalInfo($terminalInfo)
  159. {
  160. $this->terminalInfo = $terminalInfo;
  161. }
  162. public function getProdCode()
  163. {
  164. return $this->prodCode;
  165. }
  166. public function setProdCode($prodCode)
  167. {
  168. $this->prodCode = $prodCode;
  169. }
  170. public function setApiVersion($apiVersion)
  171. {
  172. $this->apiVersion=$apiVersion;
  173. }
  174. public function getApiVersion()
  175. {
  176. return $this->apiVersion;
  177. }
  178. public function setNeedEncrypt($needEncrypt)
  179. {
  180. $this->needEncrypt=$needEncrypt;
  181. }
  182. public function getNeedEncrypt()
  183. {
  184. return $this->needEncrypt;
  185. }
  186. }