AlipayDiscoveryTaxiOrderConfirmRequest.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.discovery.taxi.order.confirm request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayDiscoveryTaxiOrderConfirmRequest
  9. {
  10. /**
  11. * 司机纬度
  12. **/
  13. private $driverLat;
  14. /**
  15. * 司机车牌
  16. **/
  17. private $driverLicense;
  18. /**
  19. * 司机经度
  20. **/
  21. private $driverLng;
  22. /**
  23. * 司机姓名
  24. **/
  25. private $driverName;
  26. /**
  27. * 司机手机号
  28. **/
  29. private $driverPhone;
  30. /**
  31. * 是否支持支付宝付款
  32. **/
  33. private $isAlipaySupport;
  34. /**
  35. * 打车订单ID
  36. **/
  37. private $outBizNo;
  38. /**
  39. * 商户ID
  40. **/
  41. private $partnerId;
  42. /**
  43. * 收款账号
  44. **/
  45. private $seller;
  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 setDriverLat($driverLat)
  55. {
  56. $this->driverLat = $driverLat;
  57. $this->apiParas["driver_lat"] = $driverLat;
  58. }
  59. public function getDriverLat()
  60. {
  61. return $this->driverLat;
  62. }
  63. public function setDriverLicense($driverLicense)
  64. {
  65. $this->driverLicense = $driverLicense;
  66. $this->apiParas["driver_license"] = $driverLicense;
  67. }
  68. public function getDriverLicense()
  69. {
  70. return $this->driverLicense;
  71. }
  72. public function setDriverLng($driverLng)
  73. {
  74. $this->driverLng = $driverLng;
  75. $this->apiParas["driver_lng"] = $driverLng;
  76. }
  77. public function getDriverLng()
  78. {
  79. return $this->driverLng;
  80. }
  81. public function setDriverName($driverName)
  82. {
  83. $this->driverName = $driverName;
  84. $this->apiParas["driver_name"] = $driverName;
  85. }
  86. public function getDriverName()
  87. {
  88. return $this->driverName;
  89. }
  90. public function setDriverPhone($driverPhone)
  91. {
  92. $this->driverPhone = $driverPhone;
  93. $this->apiParas["driver_phone"] = $driverPhone;
  94. }
  95. public function getDriverPhone()
  96. {
  97. return $this->driverPhone;
  98. }
  99. public function setIsAlipaySupport($isAlipaySupport)
  100. {
  101. $this->isAlipaySupport = $isAlipaySupport;
  102. $this->apiParas["is_alipay_support"] = $isAlipaySupport;
  103. }
  104. public function getIsAlipaySupport()
  105. {
  106. return $this->isAlipaySupport;
  107. }
  108. public function setOutBizNo($outBizNo)
  109. {
  110. $this->outBizNo = $outBizNo;
  111. $this->apiParas["out_biz_no"] = $outBizNo;
  112. }
  113. public function getOutBizNo()
  114. {
  115. return $this->outBizNo;
  116. }
  117. public function setPartnerId($partnerId)
  118. {
  119. $this->partnerId = $partnerId;
  120. $this->apiParas["partner_id"] = $partnerId;
  121. }
  122. public function getPartnerId()
  123. {
  124. return $this->partnerId;
  125. }
  126. public function setSeller($seller)
  127. {
  128. $this->seller = $seller;
  129. $this->apiParas["seller"] = $seller;
  130. }
  131. public function getSeller()
  132. {
  133. return $this->seller;
  134. }
  135. public function getApiMethodName()
  136. {
  137. return "alipay.discovery.taxi.order.confirm";
  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. }