AlipayPcreditLoanCollateralOperationSyncRequest.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.pcredit.loan.collateral.operation.sync request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-01-07 20:51:15
  7. */
  8. class AlipayPcreditLoanCollateralOperationSyncRequest
  9. {
  10. /**
  11. * 业务流水号,即用户授信申请的单号,每次授信申请由借呗平台生成的唯一编号,通知估值时给到机构
  12. **/
  13. private $applyNo;
  14. /**
  15. * 上传附件的二进制流,最大限10M,以下操作类型时必填写:
  16. UPLOAD_REC:上传抵押回执照片
  17. UPLOAD_REG:上传抵押登记证照片
  18. **/
  19. private $attachment;
  20. /**
  21. * JSON格式的业务扩展信息,具体操作和机构约定具体的扩展信息
  22. **/
  23. private $bizExtInfo;
  24. /**
  25. * 操作备注,备注信息越详实越好
  26. **/
  27. private $memo;
  28. /**
  29. * 操作时间,格式:yyyy-MM-dd HH:mm:ss
  30. **/
  31. private $operatedTime;
  32. /**
  33. * 操作类型,目前对押品约定的操作有:
  34. PLEDGED:已入押
  35. UNPLEDGED:已出押;
  36. DISPOSING:处置中;
  37. DISPOSED:已处置;
  38. VERIFIED:已核实;
  39. REJECTED:核实拒绝;
  40. UPLOAD_REC:上传抵押回执(receipt)照片
  41. UPLOAD_REG:上传抵押登记证(registration certificate)照片
  42. **/
  43. private $operatedType;
  44. /**
  45. * 操作人姓名
  46. **/
  47. private $operator;
  48. /**
  49. * 机构请求流水号,请求的幂等字段,作为业务幂等性控制
  50. **/
  51. private $outRequestNo;
  52. private $apiParas = array();
  53. private $terminalType;
  54. private $terminalInfo;
  55. private $prodCode;
  56. private $apiVersion="1.0";
  57. private $notifyUrl;
  58. private $returnUrl;
  59. private $needEncrypt=false;
  60. public function setApplyNo($applyNo)
  61. {
  62. $this->applyNo = $applyNo;
  63. $this->apiParas["apply_no"] = $applyNo;
  64. }
  65. public function getApplyNo()
  66. {
  67. return $this->applyNo;
  68. }
  69. public function setAttachment($attachment)
  70. {
  71. $this->attachment = $attachment;
  72. $this->apiParas["attachment"] = $attachment;
  73. }
  74. public function getAttachment()
  75. {
  76. return $this->attachment;
  77. }
  78. public function setBizExtInfo($bizExtInfo)
  79. {
  80. $this->bizExtInfo = $bizExtInfo;
  81. $this->apiParas["biz_ext_info"] = $bizExtInfo;
  82. }
  83. public function getBizExtInfo()
  84. {
  85. return $this->bizExtInfo;
  86. }
  87. public function setMemo($memo)
  88. {
  89. $this->memo = $memo;
  90. $this->apiParas["memo"] = $memo;
  91. }
  92. public function getMemo()
  93. {
  94. return $this->memo;
  95. }
  96. public function setOperatedTime($operatedTime)
  97. {
  98. $this->operatedTime = $operatedTime;
  99. $this->apiParas["operated_time"] = $operatedTime;
  100. }
  101. public function getOperatedTime()
  102. {
  103. return $this->operatedTime;
  104. }
  105. public function setOperatedType($operatedType)
  106. {
  107. $this->operatedType = $operatedType;
  108. $this->apiParas["operated_type"] = $operatedType;
  109. }
  110. public function getOperatedType()
  111. {
  112. return $this->operatedType;
  113. }
  114. public function setOperator($operator)
  115. {
  116. $this->operator = $operator;
  117. $this->apiParas["operator"] = $operator;
  118. }
  119. public function getOperator()
  120. {
  121. return $this->operator;
  122. }
  123. public function setOutRequestNo($outRequestNo)
  124. {
  125. $this->outRequestNo = $outRequestNo;
  126. $this->apiParas["out_request_no"] = $outRequestNo;
  127. }
  128. public function getOutRequestNo()
  129. {
  130. return $this->outRequestNo;
  131. }
  132. public function getApiMethodName()
  133. {
  134. return "alipay.pcredit.loan.collateral.operation.sync";
  135. }
  136. public function setNotifyUrl($notifyUrl)
  137. {
  138. $this->notifyUrl=$notifyUrl;
  139. }
  140. public function getNotifyUrl()
  141. {
  142. return $this->notifyUrl;
  143. }
  144. public function setReturnUrl($returnUrl)
  145. {
  146. $this->returnUrl=$returnUrl;
  147. }
  148. public function getReturnUrl()
  149. {
  150. return $this->returnUrl;
  151. }
  152. public function getApiParas()
  153. {
  154. return $this->apiParas;
  155. }
  156. public function getTerminalType()
  157. {
  158. return $this->terminalType;
  159. }
  160. public function setTerminalType($terminalType)
  161. {
  162. $this->terminalType = $terminalType;
  163. }
  164. public function getTerminalInfo()
  165. {
  166. return $this->terminalInfo;
  167. }
  168. public function setTerminalInfo($terminalInfo)
  169. {
  170. $this->terminalInfo = $terminalInfo;
  171. }
  172. public function getProdCode()
  173. {
  174. return $this->prodCode;
  175. }
  176. public function setProdCode($prodCode)
  177. {
  178. $this->prodCode = $prodCode;
  179. }
  180. public function setApiVersion($apiVersion)
  181. {
  182. $this->apiVersion=$apiVersion;
  183. }
  184. public function getApiVersion()
  185. {
  186. return $this->apiVersion;
  187. }
  188. public function setNeedEncrypt($needEncrypt)
  189. {
  190. $this->needEncrypt=$needEncrypt;
  191. }
  192. public function getNeedEncrypt()
  193. {
  194. return $this->needEncrypt;
  195. }
  196. }