AlipayOverseaAtpOrderAddressGetRequest.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.oversea.atp.order.address.get request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayOverseaAtpOrderAddressGetRequest
  9. {
  10. /**
  11. * 详细地址
  12. **/
  13. private $address;
  14. /**
  15. * 地区
  16. **/
  17. private $area;
  18. /**
  19. * 证件号码
  20. **/
  21. private $certNo;
  22. /**
  23. * 证件类型
  24. **/
  25. private $certType;
  26. /**
  27. * 城市
  28. **/
  29. private $city;
  30. /**
  31. * email
  32. **/
  33. private $email;
  34. /**
  35. * 创建时间
  36. **/
  37. private $gmtCreate;
  38. /**
  39. * 修改时间
  40. **/
  41. private $gmtModified;
  42. /**
  43. * 标志来源
  44. **/
  45. private $markFrom;
  46. /**
  47. * 支付宝绑定的手机号码
  48. **/
  49. private $mobile;
  50. /**
  51. * 转运订单号
  52. **/
  53. private $orderId;
  54. /**
  55. * 省份
  56. **/
  57. private $province;
  58. /**
  59. * 用户ID
  60. **/
  61. private $userId;
  62. /**
  63. * 用户名称
  64. **/
  65. private $userName;
  66. /**
  67. * 邮政编码
  68. **/
  69. private $zipCode;
  70. private $apiParas = array();
  71. private $terminalType;
  72. private $terminalInfo;
  73. private $prodCode;
  74. private $apiVersion="1.0";
  75. private $notifyUrl;
  76. private $returnUrl;
  77. private $needEncrypt=false;
  78. public function setAddress($address)
  79. {
  80. $this->address = $address;
  81. $this->apiParas["address"] = $address;
  82. }
  83. public function getAddress()
  84. {
  85. return $this->address;
  86. }
  87. public function setArea($area)
  88. {
  89. $this->area = $area;
  90. $this->apiParas["area"] = $area;
  91. }
  92. public function getArea()
  93. {
  94. return $this->area;
  95. }
  96. public function setCertNo($certNo)
  97. {
  98. $this->certNo = $certNo;
  99. $this->apiParas["cert_no"] = $certNo;
  100. }
  101. public function getCertNo()
  102. {
  103. return $this->certNo;
  104. }
  105. public function setCertType($certType)
  106. {
  107. $this->certType = $certType;
  108. $this->apiParas["cert_type"] = $certType;
  109. }
  110. public function getCertType()
  111. {
  112. return $this->certType;
  113. }
  114. public function setCity($city)
  115. {
  116. $this->city = $city;
  117. $this->apiParas["city"] = $city;
  118. }
  119. public function getCity()
  120. {
  121. return $this->city;
  122. }
  123. public function setEmail($email)
  124. {
  125. $this->email = $email;
  126. $this->apiParas["email"] = $email;
  127. }
  128. public function getEmail()
  129. {
  130. return $this->email;
  131. }
  132. public function setGmtCreate($gmtCreate)
  133. {
  134. $this->gmtCreate = $gmtCreate;
  135. $this->apiParas["gmt_create"] = $gmtCreate;
  136. }
  137. public function getGmtCreate()
  138. {
  139. return $this->gmtCreate;
  140. }
  141. public function setGmtModified($gmtModified)
  142. {
  143. $this->gmtModified = $gmtModified;
  144. $this->apiParas["gmt_modified"] = $gmtModified;
  145. }
  146. public function getGmtModified()
  147. {
  148. return $this->gmtModified;
  149. }
  150. public function setMarkFrom($markFrom)
  151. {
  152. $this->markFrom = $markFrom;
  153. $this->apiParas["mark_from"] = $markFrom;
  154. }
  155. public function getMarkFrom()
  156. {
  157. return $this->markFrom;
  158. }
  159. public function setMobile($mobile)
  160. {
  161. $this->mobile = $mobile;
  162. $this->apiParas["mobile"] = $mobile;
  163. }
  164. public function getMobile()
  165. {
  166. return $this->mobile;
  167. }
  168. public function setOrderId($orderId)
  169. {
  170. $this->orderId = $orderId;
  171. $this->apiParas["order_id"] = $orderId;
  172. }
  173. public function getOrderId()
  174. {
  175. return $this->orderId;
  176. }
  177. public function setProvince($province)
  178. {
  179. $this->province = $province;
  180. $this->apiParas["province"] = $province;
  181. }
  182. public function getProvince()
  183. {
  184. return $this->province;
  185. }
  186. public function setUserId($userId)
  187. {
  188. $this->userId = $userId;
  189. $this->apiParas["user_id"] = $userId;
  190. }
  191. public function getUserId()
  192. {
  193. return $this->userId;
  194. }
  195. public function setUserName($userName)
  196. {
  197. $this->userName = $userName;
  198. $this->apiParas["user_name"] = $userName;
  199. }
  200. public function getUserName()
  201. {
  202. return $this->userName;
  203. }
  204. public function setZipCode($zipCode)
  205. {
  206. $this->zipCode = $zipCode;
  207. $this->apiParas["zip_code"] = $zipCode;
  208. }
  209. public function getZipCode()
  210. {
  211. return $this->zipCode;
  212. }
  213. public function getApiMethodName()
  214. {
  215. return "alipay.oversea.atp.order.address.get";
  216. }
  217. public function setNotifyUrl($notifyUrl)
  218. {
  219. $this->notifyUrl=$notifyUrl;
  220. }
  221. public function getNotifyUrl()
  222. {
  223. return $this->notifyUrl;
  224. }
  225. public function setReturnUrl($returnUrl)
  226. {
  227. $this->returnUrl=$returnUrl;
  228. }
  229. public function getReturnUrl()
  230. {
  231. return $this->returnUrl;
  232. }
  233. public function getApiParas()
  234. {
  235. return $this->apiParas;
  236. }
  237. public function getTerminalType()
  238. {
  239. return $this->terminalType;
  240. }
  241. public function setTerminalType($terminalType)
  242. {
  243. $this->terminalType = $terminalType;
  244. }
  245. public function getTerminalInfo()
  246. {
  247. return $this->terminalInfo;
  248. }
  249. public function setTerminalInfo($terminalInfo)
  250. {
  251. $this->terminalInfo = $terminalInfo;
  252. }
  253. public function getProdCode()
  254. {
  255. return $this->prodCode;
  256. }
  257. public function setProdCode($prodCode)
  258. {
  259. $this->prodCode = $prodCode;
  260. }
  261. public function setApiVersion($apiVersion)
  262. {
  263. $this->apiVersion=$apiVersion;
  264. }
  265. public function getApiVersion()
  266. {
  267. return $this->apiVersion;
  268. }
  269. public function setNeedEncrypt($needEncrypt)
  270. {
  271. $this->needEncrypt=$needEncrypt;
  272. }
  273. public function getNeedEncrypt()
  274. {
  275. return $this->needEncrypt;
  276. }
  277. }