StoreOrderEntity.php 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823
  1. <?php
  2. namespace app\entity\data\store;
  3. use app\common\enum\store\StoreOrderEnum;
  4. use app\entity\data\DataEntity;
  5. use app\entity\monomer\store\FzonePayTypeEntity;
  6. class StoreOrderEntity extends DataEntity
  7. {
  8. public $orderId = null; // 订单ID
  9. public $groupOrderId = null; // 订单组 id
  10. public $orderSn = null; // 订单号
  11. public $uid = null; // 用户id
  12. public $realName = null; // 用户姓名
  13. public $userPhone = null; // 用户电话
  14. public $userAddress = null; // 详细地址
  15. public $userAddressIds = null; // 详细地址id
  16. public $areaManageAddressIds = null; // 申请代理地址 只有合伙人商品有
  17. public $cartId = null; // 购物车id
  18. public $totalNum = null; // 订单商品总数
  19. public $totalPrice = null; // 订单总价
  20. public $totalPostage = null; // 邮费
  21. public $payPrice = null; // 实际支付金额
  22. public $payPostage = null; // 支付邮费
  23. public $extensionOne = null; // 一级佣金
  24. public $extensionTwo = null; // 二级佣金
  25. public $commissionRate = null; // 平台手续费(汇付通道服务费)
  26. public $couponId = null; // 优惠券id
  27. public $couponPrice = null; // 优惠券金额
  28. public $orderType = null; // 0普通1自提
  29. public $paid = null; // 支付状态
  30. public $payTime = null; // 支付时间
  31. public $payType = null; // 支付方式 0余额 1微信 2小程序 4支付宝 5特殊商户积分
  32. public $createTime = null; // 创建时间
  33. public $isIndependentaccount = null; // 是否分账:0:否,1:是
  34. public $status = null; // 订单状态(0:待发货;1:待收货;2:待评价;3:已完成;4已申请退款;-1:已退款)5未支付 6已取消
  35. public $deliveryType = null; // 发货类型(1:发货 2: 送货 3: 虚拟)
  36. public $deliveryName = null; // 快递名称/送货人姓名
  37. public $deliveryId = null; // 快递单号/手机号
  38. public $mark = null; // 备注
  39. public $remark = null; // 管理员备注
  40. public $adminMark = null; // 总后台备注
  41. public $verifyCode = null; // 核销码
  42. public $verifyTime = null; // 核销时间
  43. public $verifyServiceId = null; // 核销客服 id
  44. public $merId = null; // 商户ID
  45. public $reconciliationId = null; // 对账id
  46. public $cost = null; // 成本价
  47. public $isDel = null; // 是否删除
  48. public $isSystemDel = null; // 后台是否删除
  49. public $remind = null; // 提醒标识
  50. public $remindTime = null; // 提醒时间
  51. public $gzc = null; // 是否记录公证处入账明细
  52. public $tradeNo = null; // SaaS平台的交易订单编号
  53. public $channelTradeNo = null; // 渠道商订单号
  54. public $alipayNo = null; // 支付宝单号
  55. public $weixinNo = null; // 微信单号
  56. public $tableId = null; // 表 ID
  57. public $merMoney = null; // 商户可收金额
  58. public $lastStatus = null; // 上次订单状态 用于拒绝退款
  59. public $shareId = null; // 分享的ID
  60. public $payMerId = null; // 积分支付用的商户ID
  61. public $isSplitToTomorrow = null; // 是否分账
  62. public $serviceMoney = null; // 分给平台的钱
  63. public $testOrder = null; // 是否是测试订单
  64. public $dacangId = null; // 大仓ID
  65. public $distributionMode = null; // 发货模式 1快递 2 自提
  66. public $daCangProfit = null; // 大仓利润
  67. public $recommendedMerchants = null; // 推荐商家流水返佣
  68. public $merFanyong = null; // 可分总佣金
  69. public $isDacang = null; // 是否大仓订单
  70. public $costPrice = null; // 成本价
  71. public $douhuomall = null; // 是否供应链订单
  72. public $douhuomallStatus = null; // 供应链订单状态
  73. public $douhuomallMsg = null; // 供应链订单返回结果
  74. public $addressId = null; // 供应链需要的地址id
  75. public $douhuomallOrderNo = null; // 供应链订单号
  76. public $supplyType = null; // 状态 0:待审核 -1:审核未通过 1:待退货 2:待收货 3:已退款
  77. public $seckill = null; // 是否秒杀订单
  78. public $glj = null; // 管理奖是否结算
  79. public $exchangePhone = null; // 兑换手机号
  80. public $youhuiPrice = null; // 随机减金额
  81. public $isRedYlj = null; // 红积分订单的养老金状态
  82. public $hfFeeAmt = null; // 汇付通道服务费
  83. public $hfClearTime = null; // 汇付分账成功时间
  84. public $payOpenId = null; // 支付人openid
  85. public $isDayPay = null; // 是否代付订单
  86. public $isSettlement = null; // 是否已结算
  87. public $settlementTime = null; // 结算时间
  88. public $shareUid = null; // 分享用户uid
  89. public $conPri = null; // 利润
  90. public $userOfGoodsId = null; // 会员区需要升级权限加上ID
  91. public $fzonePaytype = null; // 组合支付
  92. public $fzonePayJingdou = null; // 组合支付京豆
  93. public $fzonePayVr = null; // 组合支付vr
  94. public $fzonePayJifen = null; // 组合支付积分
  95. public $fzonePayPrice = null; // 组合支付现金
  96. public $fzonePayOther = null; // 组合支付other
  97. public $fzonePayNote = null; // 组合支付备注
  98. public $fzonePayType = null;
  99. public $pensionJson = null; // 养老金设置(将当前商品的养老金分配设置保存一份)
  100. public $pickUpId = null;
  101. /**
  102. * @return mixed
  103. */
  104. public function getOrderId()
  105. {
  106. return $this->orderId;
  107. }
  108. /**
  109. * @param mixed $orderId
  110. * @return StoreOrderEntity
  111. */
  112. public function setOrderId($orderId): StoreOrderEntity
  113. {
  114. $this->orderId = $orderId;
  115. return $this;
  116. }
  117. /**
  118. * @return mixed
  119. */
  120. public function getGroupOrderId()
  121. {
  122. return $this->groupOrderId;
  123. }
  124. /**
  125. * @param mixed $groupOrderId
  126. * @return StoreOrderEntity
  127. */
  128. public function setGroupOrderId($groupOrderId): StoreOrderEntity
  129. {
  130. $this->groupOrderId = $groupOrderId;
  131. return $this;
  132. }
  133. /**
  134. * @return mixed
  135. */
  136. public function getOrderSn()
  137. {
  138. return $this->orderSn;
  139. }
  140. /**
  141. * @param mixed $orderSn
  142. * @return StoreOrderEntity
  143. */
  144. public function setOrderSn($orderSn): StoreOrderEntity
  145. {
  146. $this->orderSn = $orderSn;
  147. return $this;
  148. }
  149. /**
  150. * @return mixed
  151. */
  152. public function getUid()
  153. {
  154. return $this->uid;
  155. }
  156. /**
  157. * @param mixed $uid
  158. * @return StoreOrderEntity
  159. */
  160. public function setUid($uid): StoreOrderEntity
  161. {
  162. $this->uid = $uid;
  163. return $this;
  164. }
  165. /**
  166. * @return mixed
  167. */
  168. public function getRealName()
  169. {
  170. return $this->realName;
  171. }
  172. /**
  173. * @param mixed $realName
  174. * @return StoreOrderEntity
  175. */
  176. public function setRealName($realName): StoreOrderEntity
  177. {
  178. $this->realName = $realName;
  179. return $this;
  180. }
  181. /**
  182. * @return mixed
  183. */
  184. public function getUserPhone()
  185. {
  186. return $this->userPhone;
  187. }
  188. /**
  189. * @param mixed $userPhone
  190. * @return StoreOrderEntity
  191. */
  192. public function setUserPhone($userPhone): StoreOrderEntity
  193. {
  194. $this->userPhone = $userPhone;
  195. return $this;
  196. }
  197. /**
  198. * @return mixed
  199. */
  200. public function getUserAddress()
  201. {
  202. return $this->userAddress;
  203. }
  204. /**
  205. * @param mixed $userAddress
  206. * @return StoreOrderEntity
  207. */
  208. public function setUserAddress($userAddress): StoreOrderEntity
  209. {
  210. $this->userAddress = $userAddress;
  211. return $this;
  212. }
  213. /**
  214. * @return mixed
  215. */
  216. public function getUserAddressIds()
  217. {
  218. return $this->userAddressIds;
  219. }
  220. /**
  221. * @param mixed $userAddressIds
  222. * @return StoreOrderEntity
  223. */
  224. public function setUserAddressIds($userAddressIds): StoreOrderEntity
  225. {
  226. $this->userAddressIds = $userAddressIds;
  227. return $this;
  228. }
  229. /**
  230. * @return mixed
  231. */
  232. public function getAreaManageAddressIds()
  233. {
  234. return $this->areaManageAddressIds;
  235. }
  236. /**
  237. * @param mixed $areaManageAddressIds
  238. * @return StoreOrderEntity
  239. */
  240. public function setAreaManageAddressIds($areaManageAddressIds): StoreOrderEntity
  241. {
  242. $this->areaManageAddressIds = $areaManageAddressIds;
  243. return $this;
  244. }
  245. /**
  246. * @return mixed
  247. */
  248. public function getCartId()
  249. {
  250. return $this->cartId;
  251. }
  252. /**
  253. * @param mixed $cartId
  254. * @return StoreOrderEntity
  255. */
  256. public function setCartId($cartId): StoreOrderEntity
  257. {
  258. $this->cartId = $cartId;
  259. return $this;
  260. }
  261. /**
  262. * @return mixed
  263. */
  264. public function getTotalNum()
  265. {
  266. return $this->totalNum;
  267. }
  268. /**
  269. * @param mixed $totalNum
  270. * @return StoreOrderEntity
  271. */
  272. public function setTotalNum($totalNum): StoreOrderEntity
  273. {
  274. $this->totalNum = $totalNum;
  275. return $this;
  276. }
  277. /**
  278. * @return mixed
  279. */
  280. public function getTotalPrice()
  281. {
  282. return $this->totalPrice;
  283. }
  284. /**
  285. * @param mixed $totalPrice
  286. * @return StoreOrderEntity
  287. */
  288. public function setTotalPrice($totalPrice): StoreOrderEntity
  289. {
  290. $this->totalPrice = $totalPrice;
  291. return $this;
  292. }
  293. /**
  294. * @return mixed
  295. */
  296. public function getTotalPostage()
  297. {
  298. return $this->totalPostage;
  299. }
  300. /**
  301. * @param mixed $totalPostage
  302. * @return StoreOrderEntity
  303. */
  304. public function setTotalPostage($totalPostage): StoreOrderEntity
  305. {
  306. $this->totalPostage = $totalPostage;
  307. return $this;
  308. }
  309. /**
  310. * @return mixed
  311. */
  312. public function getPayPrice()
  313. {
  314. return $this->payPrice;
  315. }
  316. /**
  317. * @param mixed $payPrice
  318. * @return StoreOrderEntity
  319. */
  320. public function setPayPrice($payPrice): StoreOrderEntity
  321. {
  322. $this->payPrice = $payPrice;
  323. return $this;
  324. }
  325. /**
  326. * @return mixed
  327. */
  328. public function getPayPostage()
  329. {
  330. return $this->payPostage;
  331. }
  332. /**
  333. * @param mixed $payPostage
  334. * @return StoreOrderEntity
  335. */
  336. public function setPayPostage($payPostage): StoreOrderEntity
  337. {
  338. $this->payPostage = $payPostage;
  339. return $this;
  340. }
  341. /**
  342. * @return mixed
  343. */
  344. public function getExtensionOne()
  345. {
  346. return $this->extensionOne;
  347. }
  348. /**
  349. * @param mixed $extensionOne
  350. * @return StoreOrderEntity
  351. */
  352. public function setExtensionOne($extensionOne): StoreOrderEntity
  353. {
  354. $this->extensionOne = $extensionOne;
  355. return $this;
  356. }
  357. /**
  358. * @return mixed
  359. */
  360. public function getExtensionTwo()
  361. {
  362. return $this->extensionTwo;
  363. }
  364. /**
  365. * @param mixed $extensionTwo
  366. * @return StoreOrderEntity
  367. */
  368. public function setExtensionTwo($extensionTwo): StoreOrderEntity
  369. {
  370. $this->extensionTwo = $extensionTwo;
  371. return $this;
  372. }
  373. /**
  374. * @return mixed
  375. */
  376. public function getCommissionRate()
  377. {
  378. return $this->commissionRate;
  379. }
  380. /**
  381. * @param mixed $commissionRate
  382. * @return StoreOrderEntity
  383. */
  384. public function setCommissionRate($commissionRate): StoreOrderEntity
  385. {
  386. $this->commissionRate = $commissionRate;
  387. return $this;
  388. }
  389. /**
  390. * @return mixed
  391. */
  392. public function getCouponId()
  393. {
  394. return $this->couponId;
  395. }
  396. /**
  397. * @param mixed $couponId
  398. * @return StoreOrderEntity
  399. */
  400. public function setCouponId($couponId): StoreOrderEntity
  401. {
  402. $this->couponId = $couponId;
  403. return $this;
  404. }
  405. /**
  406. * @return mixed
  407. */
  408. public function getCouponPrice()
  409. {
  410. return $this->couponPrice;
  411. }
  412. /**
  413. * @param mixed $couponPrice
  414. * @return StoreOrderEntity
  415. */
  416. public function setCouponPrice($couponPrice): StoreOrderEntity
  417. {
  418. $this->couponPrice = $couponPrice;
  419. return $this;
  420. }
  421. /**
  422. * @return mixed
  423. */
  424. public function getOrderType()
  425. {
  426. return $this->orderType;
  427. }
  428. /**
  429. * @param mixed $orderType
  430. * @return StoreOrderEntity
  431. */
  432. public function setOrderType($orderType): StoreOrderEntity
  433. {
  434. $this->orderType = $orderType;
  435. return $this;
  436. }
  437. /**
  438. * @return mixed
  439. */
  440. public function getPaid()
  441. {
  442. return $this->paid;
  443. }
  444. /**
  445. * @param mixed $paid
  446. * @return StoreOrderEntity
  447. */
  448. public function setPaid($paid): StoreOrderEntity
  449. {
  450. $this->paid = $paid;
  451. return $this;
  452. }
  453. /**
  454. * @return mixed
  455. */
  456. public function getPayTime()
  457. {
  458. return $this->payTime;
  459. }
  460. /**
  461. * @param mixed $payTime
  462. * @return StoreOrderEntity
  463. */
  464. public function setPayTime($payTime): StoreOrderEntity
  465. {
  466. $this->payTime = $payTime;
  467. return $this;
  468. }
  469. /**
  470. * @return mixed
  471. */
  472. public function getPayType()
  473. {
  474. return $this->payType;
  475. }
  476. /**
  477. * @param mixed $payType
  478. * @return StoreOrderEntity
  479. */
  480. public function setPayType($payType): StoreOrderEntity
  481. {
  482. $this->payType = $payType;
  483. return $this;
  484. }
  485. /**
  486. * @return mixed
  487. */
  488. public function getCreateTime()
  489. {
  490. return $this->createTime;
  491. }
  492. /**
  493. * @param mixed $createTime
  494. * @return StoreOrderEntity
  495. */
  496. public function setCreateTime($createTime): StoreOrderEntity
  497. {
  498. $this->createTime = $createTime;
  499. return $this;
  500. }
  501. /**
  502. * @return mixed
  503. */
  504. public function getIsIndependentaccount()
  505. {
  506. return $this->isIndependentaccount;
  507. }
  508. /**
  509. * @param mixed $isIndependentaccount
  510. * @return StoreOrderEntity
  511. */
  512. public function setIsIndependentaccount($isIndependentaccount): StoreOrderEntity
  513. {
  514. $this->isIndependentaccount = $isIndependentaccount;
  515. return $this;
  516. }
  517. /**
  518. * @return mixed
  519. */
  520. public function getStatus()
  521. {
  522. return $this->status;
  523. }
  524. /**
  525. * @param mixed $status
  526. * @return StoreOrderEntity
  527. */
  528. public function setStatus($status): StoreOrderEntity
  529. {
  530. $this->status = $status;
  531. return $this;
  532. }
  533. /**
  534. * @return mixed
  535. */
  536. public function getDeliveryType()
  537. {
  538. return $this->deliveryType;
  539. }
  540. /**
  541. * @param mixed $deliveryType
  542. * @return StoreOrderEntity
  543. */
  544. public function setDeliveryType($deliveryType): StoreOrderEntity
  545. {
  546. $this->deliveryType = $deliveryType;
  547. return $this;
  548. }
  549. /**
  550. * @return mixed
  551. */
  552. public function getDeliveryName()
  553. {
  554. return $this->deliveryName;
  555. }
  556. /**
  557. * @param mixed $deliveryName
  558. * @return StoreOrderEntity
  559. */
  560. public function setDeliveryName($deliveryName): StoreOrderEntity
  561. {
  562. $this->deliveryName = $deliveryName;
  563. return $this;
  564. }
  565. /**
  566. * @return mixed
  567. */
  568. public function getDeliveryId()
  569. {
  570. return $this->deliveryId;
  571. }
  572. /**
  573. * @param mixed $deliveryId
  574. * @return StoreOrderEntity
  575. */
  576. public function setDeliveryId($deliveryId): StoreOrderEntity
  577. {
  578. $this->deliveryId = $deliveryId;
  579. return $this;
  580. }
  581. /**
  582. * @return mixed
  583. */
  584. public function getMark()
  585. {
  586. return $this->mark;
  587. }
  588. /**
  589. * @param mixed $mark
  590. * @return StoreOrderEntity
  591. */
  592. public function setMark($mark): StoreOrderEntity
  593. {
  594. $this->mark = $mark;
  595. return $this;
  596. }
  597. /**
  598. * @return mixed
  599. */
  600. public function getRemark()
  601. {
  602. return $this->remark;
  603. }
  604. /**
  605. * @param mixed $remark
  606. * @return StoreOrderEntity
  607. */
  608. public function setRemark($remark): StoreOrderEntity
  609. {
  610. $this->remark = $remark;
  611. return $this;
  612. }
  613. /**
  614. * @return mixed
  615. */
  616. public function getAdminMark()
  617. {
  618. return $this->adminMark;
  619. }
  620. /**
  621. * @param mixed $adminMark
  622. * @return StoreOrderEntity
  623. */
  624. public function setAdminMark($adminMark): StoreOrderEntity
  625. {
  626. $this->adminMark = $adminMark;
  627. return $this;
  628. }
  629. /**
  630. * @return mixed
  631. */
  632. public function getVerifyCode()
  633. {
  634. return $this->verifyCode;
  635. }
  636. /**
  637. * @param mixed $verifyCode
  638. * @return StoreOrderEntity
  639. */
  640. public function setVerifyCode($verifyCode): StoreOrderEntity
  641. {
  642. $this->verifyCode = $verifyCode;
  643. return $this;
  644. }
  645. /**
  646. * @return mixed
  647. */
  648. public function getVerifyTime()
  649. {
  650. return $this->verifyTime;
  651. }
  652. /**
  653. * @param mixed $verifyTime
  654. * @return StoreOrderEntity
  655. */
  656. public function setVerifyTime($verifyTime): StoreOrderEntity
  657. {
  658. $this->verifyTime = $verifyTime;
  659. return $this;
  660. }
  661. /**
  662. * @return mixed
  663. */
  664. public function getVerifyServiceId()
  665. {
  666. return $this->verifyServiceId;
  667. }
  668. /**
  669. * @param mixed $verifyServiceId
  670. * @return StoreOrderEntity
  671. */
  672. public function setVerifyServiceId($verifyServiceId): StoreOrderEntity
  673. {
  674. $this->verifyServiceId = $verifyServiceId;
  675. return $this;
  676. }
  677. /**
  678. * @return mixed
  679. */
  680. public function getMerId()
  681. {
  682. return $this->merId;
  683. }
  684. /**
  685. * @param mixed $merId
  686. * @return StoreOrderEntity
  687. */
  688. public function setMerId($merId): StoreOrderEntity
  689. {
  690. $this->merId = $merId;
  691. return $this;
  692. }
  693. /**
  694. * @return mixed
  695. */
  696. public function getReconciliationId()
  697. {
  698. return $this->reconciliationId;
  699. }
  700. /**
  701. * @param mixed $reconciliationId
  702. * @return StoreOrderEntity
  703. */
  704. public function setReconciliationId($reconciliationId): StoreOrderEntity
  705. {
  706. $this->reconciliationId = $reconciliationId;
  707. return $this;
  708. }
  709. /**
  710. * @return mixed
  711. */
  712. public function getCost()
  713. {
  714. return $this->cost;
  715. }
  716. /**
  717. * @param mixed $cost
  718. * @return StoreOrderEntity
  719. */
  720. public function setCost($cost): StoreOrderEntity
  721. {
  722. $this->cost = $cost;
  723. return $this;
  724. }
  725. /**
  726. * @return mixed
  727. */
  728. public function getIsDel()
  729. {
  730. return $this->isDel;
  731. }
  732. /**
  733. * @param mixed $isDel
  734. * @return StoreOrderEntity
  735. */
  736. public function setIsDel($isDel): StoreOrderEntity
  737. {
  738. $this->isDel = $isDel;
  739. return $this;
  740. }
  741. /**
  742. * @return mixed
  743. */
  744. public function getIsSystemDel()
  745. {
  746. return $this->isSystemDel;
  747. }
  748. /**
  749. * @param mixed $isSystemDel
  750. * @return StoreOrderEntity
  751. */
  752. public function setIsSystemDel($isSystemDel): StoreOrderEntity
  753. {
  754. $this->isSystemDel = $isSystemDel;
  755. return $this;
  756. }
  757. /**
  758. * @return mixed
  759. */
  760. public function getRemind()
  761. {
  762. return $this->remind;
  763. }
  764. /**
  765. * @param mixed $remind
  766. * @return StoreOrderEntity
  767. */
  768. public function setRemind($remind): StoreOrderEntity
  769. {
  770. $this->remind = $remind;
  771. return $this;
  772. }
  773. /**
  774. * @return mixed
  775. */
  776. public function getRemindTime()
  777. {
  778. return $this->remindTime;
  779. }
  780. /**
  781. * @param mixed $remindTime
  782. * @return StoreOrderEntity
  783. */
  784. public function setRemindTime($remindTime): StoreOrderEntity
  785. {
  786. $this->remindTime = $remindTime;
  787. return $this;
  788. }
  789. /**
  790. * @return mixed
  791. */
  792. public function getGzc()
  793. {
  794. return $this->gzc;
  795. }
  796. /**
  797. * @param mixed $gzc
  798. * @return StoreOrderEntity
  799. */
  800. public function setGzc($gzc): StoreOrderEntity
  801. {
  802. $this->gzc = $gzc;
  803. return $this;
  804. }
  805. /**
  806. * @return mixed
  807. */
  808. public function getTradeNo()
  809. {
  810. return $this->tradeNo;
  811. }
  812. /**
  813. * @param mixed $tradeNo
  814. * @return StoreOrderEntity
  815. */
  816. public function setTradeNo($tradeNo): StoreOrderEntity
  817. {
  818. $this->tradeNo = $tradeNo;
  819. return $this;
  820. }
  821. /**
  822. * @return mixed
  823. */
  824. public function getChannelTradeNo()
  825. {
  826. return $this->channelTradeNo;
  827. }
  828. /**
  829. * @param mixed $channelTradeNo
  830. * @return StoreOrderEntity
  831. */
  832. public function setChannelTradeNo($channelTradeNo): StoreOrderEntity
  833. {
  834. $this->channelTradeNo = $channelTradeNo;
  835. return $this;
  836. }
  837. /**
  838. * @return mixed
  839. */
  840. public function getAlipayNo()
  841. {
  842. return $this->alipayNo;
  843. }
  844. /**
  845. * @param mixed $alipayNo
  846. * @return StoreOrderEntity
  847. */
  848. public function setAlipayNo($alipayNo): StoreOrderEntity
  849. {
  850. $this->alipayNo = $alipayNo;
  851. return $this;
  852. }
  853. /**
  854. * @return mixed
  855. */
  856. public function getWeixinNo()
  857. {
  858. return $this->weixinNo;
  859. }
  860. /**
  861. * @param mixed $weixinNo
  862. * @return StoreOrderEntity
  863. */
  864. public function setWeixinNo($weixinNo): StoreOrderEntity
  865. {
  866. $this->weixinNo = $weixinNo;
  867. return $this;
  868. }
  869. /**
  870. * @return mixed
  871. */
  872. public function getTableId()
  873. {
  874. return $this->tableId;
  875. }
  876. /**
  877. * @param mixed $tableId
  878. * @return StoreOrderEntity
  879. */
  880. public function setTableId($tableId): StoreOrderEntity
  881. {
  882. $this->tableId = $tableId;
  883. return $this;
  884. }
  885. /**
  886. * @return mixed
  887. */
  888. public function getMerMoney()
  889. {
  890. return $this->merMoney;
  891. }
  892. /**
  893. * @param mixed $merMoney
  894. * @return StoreOrderEntity
  895. */
  896. public function setMerMoney($merMoney): StoreOrderEntity
  897. {
  898. $this->merMoney = $merMoney;
  899. return $this;
  900. }
  901. /**
  902. * @return mixed
  903. */
  904. public function getLastStatus()
  905. {
  906. return $this->lastStatus;
  907. }
  908. /**
  909. * @param mixed $lastStatus
  910. * @return StoreOrderEntity
  911. */
  912. public function setLastStatus($lastStatus): StoreOrderEntity
  913. {
  914. $this->lastStatus = $lastStatus;
  915. return $this;
  916. }
  917. /**
  918. * @return mixed
  919. */
  920. public function getShareId()
  921. {
  922. return $this->shareId;
  923. }
  924. /**
  925. * @param mixed $shareId
  926. * @return StoreOrderEntity
  927. */
  928. public function setShareId($shareId): StoreOrderEntity
  929. {
  930. $this->shareId = $shareId;
  931. return $this;
  932. }
  933. /**
  934. * @return mixed
  935. */
  936. public function getPayMerId()
  937. {
  938. return $this->payMerId;
  939. }
  940. /**
  941. * @param mixed $payMerId
  942. * @return StoreOrderEntity
  943. */
  944. public function setPayMerId($payMerId): StoreOrderEntity
  945. {
  946. $this->payMerId = $payMerId;
  947. return $this;
  948. }
  949. /**
  950. * @return mixed
  951. */
  952. public function getIsSplitToTomorrow()
  953. {
  954. return $this->isSplitToTomorrow;
  955. }
  956. /**
  957. * @param mixed $isSplitToTomorrow
  958. * @return StoreOrderEntity
  959. */
  960. public function setIsSplitToTomorrow($isSplitToTomorrow): StoreOrderEntity
  961. {
  962. $this->isSplitToTomorrow = $isSplitToTomorrow;
  963. return $this;
  964. }
  965. /**
  966. * @return mixed
  967. */
  968. public function getServiceMoney()
  969. {
  970. return $this->serviceMoney;
  971. }
  972. /**
  973. * @param mixed $serviceMoney
  974. * @return StoreOrderEntity
  975. */
  976. public function setServiceMoney($serviceMoney): StoreOrderEntity
  977. {
  978. $this->serviceMoney = $serviceMoney;
  979. return $this;
  980. }
  981. /**
  982. * @return mixed
  983. */
  984. public function getTestOrder()
  985. {
  986. return $this->testOrder;
  987. }
  988. /**
  989. * @param mixed $testOrder
  990. * @return StoreOrderEntity
  991. */
  992. public function setTestOrder($testOrder): StoreOrderEntity
  993. {
  994. $this->testOrder = $testOrder;
  995. return $this;
  996. }
  997. /**
  998. * @return mixed
  999. */
  1000. public function getDacangId()
  1001. {
  1002. return $this->dacangId;
  1003. }
  1004. /**
  1005. * @param mixed $dacangId
  1006. * @return StoreOrderEntity
  1007. */
  1008. public function setDacangId($dacangId): StoreOrderEntity
  1009. {
  1010. $this->dacangId = $dacangId;
  1011. return $this;
  1012. }
  1013. /**
  1014. * @return mixed
  1015. */
  1016. public function getDistributionMode()
  1017. {
  1018. return $this->distributionMode;
  1019. }
  1020. /**
  1021. * @param mixed $distributionMode
  1022. * @return StoreOrderEntity
  1023. */
  1024. public function setDistributionMode($distributionMode): StoreOrderEntity
  1025. {
  1026. $this->distributionMode = $distributionMode;
  1027. return $this;
  1028. }
  1029. /**
  1030. * @return mixed
  1031. */
  1032. public function getDaCangProfit()
  1033. {
  1034. return $this->daCangProfit;
  1035. }
  1036. /**
  1037. * @param mixed $daCangProfit
  1038. * @return StoreOrderEntity
  1039. */
  1040. public function setDaCangProfit($daCangProfit): StoreOrderEntity
  1041. {
  1042. $this->daCangProfit = $daCangProfit;
  1043. return $this;
  1044. }
  1045. /**
  1046. * @return mixed
  1047. */
  1048. public function getRecommendedMerchants()
  1049. {
  1050. return $this->recommendedMerchants;
  1051. }
  1052. /**
  1053. * @param mixed $recommendedMerchants
  1054. * @return StoreOrderEntity
  1055. */
  1056. public function setRecommendedMerchants($recommendedMerchants): StoreOrderEntity
  1057. {
  1058. $this->recommendedMerchants = $recommendedMerchants;
  1059. return $this;
  1060. }
  1061. /**
  1062. * @return mixed
  1063. */
  1064. public function getMerFanyong()
  1065. {
  1066. return $this->merFanyong;
  1067. }
  1068. /**
  1069. * @param mixed $merFanyong
  1070. * @return StoreOrderEntity
  1071. */
  1072. public function setMerFanyong($merFanyong): StoreOrderEntity
  1073. {
  1074. $this->merFanyong = $merFanyong;
  1075. return $this;
  1076. }
  1077. /**
  1078. * @return mixed
  1079. */
  1080. public function getIsDacang()
  1081. {
  1082. return $this->isDacang;
  1083. }
  1084. /**
  1085. * @param mixed $isDacang
  1086. * @return StoreOrderEntity
  1087. */
  1088. public function setIsDacang($isDacang): StoreOrderEntity
  1089. {
  1090. $this->isDacang = $isDacang;
  1091. return $this;
  1092. }
  1093. /**
  1094. * @return mixed
  1095. */
  1096. public function getCostPrice()
  1097. {
  1098. return $this->costPrice;
  1099. }
  1100. /**
  1101. * @param mixed $costPrice
  1102. * @return StoreOrderEntity
  1103. */
  1104. public function setCostPrice($costPrice): StoreOrderEntity
  1105. {
  1106. $this->costPrice = $costPrice;
  1107. return $this;
  1108. }
  1109. /**
  1110. * @return mixed
  1111. */
  1112. public function getDouhuomall()
  1113. {
  1114. return $this->douhuomall;
  1115. }
  1116. /**
  1117. * @param mixed $douhuomall
  1118. * @return StoreOrderEntity
  1119. */
  1120. public function setDouhuomall($douhuomall): StoreOrderEntity
  1121. {
  1122. $this->douhuomall = $douhuomall;
  1123. return $this;
  1124. }
  1125. /**
  1126. * @return mixed
  1127. */
  1128. public function getDouhuomallStatus()
  1129. {
  1130. return $this->douhuomallStatus;
  1131. }
  1132. /**
  1133. * @param mixed $douhuomallStatus
  1134. * @return StoreOrderEntity
  1135. */
  1136. public function setDouhuomallStatus($douhuomallStatus): StoreOrderEntity
  1137. {
  1138. $this->douhuomallStatus = $douhuomallStatus;
  1139. return $this;
  1140. }
  1141. /**
  1142. * @return mixed
  1143. */
  1144. public function getDouhuomallMsg()
  1145. {
  1146. return $this->douhuomallMsg;
  1147. }
  1148. /**
  1149. * @param mixed $douhuomallMsg
  1150. * @return StoreOrderEntity
  1151. */
  1152. public function setDouhuomallMsg($douhuomallMsg): StoreOrderEntity
  1153. {
  1154. $this->douhuomallMsg = $douhuomallMsg;
  1155. return $this;
  1156. }
  1157. /**
  1158. * @return mixed
  1159. */
  1160. public function getAddressId()
  1161. {
  1162. return $this->addressId;
  1163. }
  1164. /**
  1165. * @param mixed $addressId
  1166. * @return StoreOrderEntity
  1167. */
  1168. public function setAddressId($addressId): StoreOrderEntity
  1169. {
  1170. $this->addressId = $addressId;
  1171. return $this;
  1172. }
  1173. /**
  1174. * @return mixed
  1175. */
  1176. public function getDouhuomallOrderNo()
  1177. {
  1178. return $this->douhuomallOrderNo;
  1179. }
  1180. /**
  1181. * @param mixed $douhuomallOrderNo
  1182. * @return StoreOrderEntity
  1183. */
  1184. public function setDouhuomallOrderNo($douhuomallOrderNo): StoreOrderEntity
  1185. {
  1186. $this->douhuomallOrderNo = $douhuomallOrderNo;
  1187. return $this;
  1188. }
  1189. /**
  1190. * @return mixed
  1191. */
  1192. public function getSupplyType()
  1193. {
  1194. return $this->supplyType;
  1195. }
  1196. /**
  1197. * @param mixed $supplyType
  1198. * @return StoreOrderEntity
  1199. */
  1200. public function setSupplyType($supplyType): StoreOrderEntity
  1201. {
  1202. $this->supplyType = $supplyType;
  1203. return $this;
  1204. }
  1205. /**
  1206. * @return mixed
  1207. */
  1208. public function getSeckill()
  1209. {
  1210. return $this->seckill;
  1211. }
  1212. /**
  1213. * @param mixed $seckill
  1214. * @return StoreOrderEntity
  1215. */
  1216. public function setSeckill($seckill): StoreOrderEntity
  1217. {
  1218. $this->seckill = $seckill;
  1219. return $this;
  1220. }
  1221. /**
  1222. * @return mixed
  1223. */
  1224. public function getGlj()
  1225. {
  1226. return $this->glj;
  1227. }
  1228. /**
  1229. * @param mixed $glj
  1230. * @return StoreOrderEntity
  1231. */
  1232. public function setGlj($glj): StoreOrderEntity
  1233. {
  1234. $this->glj = $glj;
  1235. return $this;
  1236. }
  1237. /**
  1238. * @return mixed
  1239. */
  1240. public function getExchangePhone()
  1241. {
  1242. return $this->exchangePhone;
  1243. }
  1244. /**
  1245. * @param mixed $exchangePhone
  1246. * @return StoreOrderEntity
  1247. */
  1248. public function setExchangePhone($exchangePhone): StoreOrderEntity
  1249. {
  1250. $this->exchangePhone = $exchangePhone;
  1251. return $this;
  1252. }
  1253. /**
  1254. * @return mixed
  1255. */
  1256. public function getYouhuiPrice()
  1257. {
  1258. return $this->youhuiPrice;
  1259. }
  1260. /**
  1261. * @param mixed $youhuiPrice
  1262. * @return StoreOrderEntity
  1263. */
  1264. public function setYouhuiPrice($youhuiPrice): StoreOrderEntity
  1265. {
  1266. $this->youhuiPrice = $youhuiPrice;
  1267. return $this;
  1268. }
  1269. /**
  1270. * @return mixed
  1271. */
  1272. public function getIsRedYlj()
  1273. {
  1274. return $this->isRedYlj;
  1275. }
  1276. /**
  1277. * @param mixed $isRedYlj
  1278. * @return StoreOrderEntity
  1279. */
  1280. public function setIsRedYlj($isRedYlj): StoreOrderEntity
  1281. {
  1282. $this->isRedYlj = $isRedYlj;
  1283. return $this;
  1284. }
  1285. /**
  1286. * @return mixed
  1287. */
  1288. public function getHfFeeAmt()
  1289. {
  1290. return $this->hfFeeAmt;
  1291. }
  1292. /**
  1293. * @param mixed $hfFeeAmt
  1294. * @return StoreOrderEntity
  1295. */
  1296. public function setHfFeeAmt($hfFeeAmt): StoreOrderEntity
  1297. {
  1298. $this->hfFeeAmt = $hfFeeAmt;
  1299. return $this;
  1300. }
  1301. /**
  1302. * @return mixed
  1303. */
  1304. public function getHfClearTime()
  1305. {
  1306. return $this->hfClearTime;
  1307. }
  1308. /**
  1309. * @param mixed $hfClearTime
  1310. * @return StoreOrderEntity
  1311. */
  1312. public function setHfClearTime($hfClearTime): StoreOrderEntity
  1313. {
  1314. $this->hfClearTime = $hfClearTime;
  1315. return $this;
  1316. }
  1317. /**
  1318. * @return mixed
  1319. */
  1320. public function getPayOpenId()
  1321. {
  1322. return $this->payOpenId;
  1323. }
  1324. /**
  1325. * @param mixed $payOpenId
  1326. * @return StoreOrderEntity
  1327. */
  1328. public function setPayOpenId($payOpenId): StoreOrderEntity
  1329. {
  1330. $this->payOpenId = $payOpenId;
  1331. return $this;
  1332. }
  1333. /**
  1334. * @return mixed
  1335. */
  1336. public function getIsDayPay()
  1337. {
  1338. return $this->isDayPay;
  1339. }
  1340. /**
  1341. * @param mixed $isDayPay
  1342. * @return StoreOrderEntity
  1343. */
  1344. public function setIsDayPay($isDayPay): StoreOrderEntity
  1345. {
  1346. $this->isDayPay = $isDayPay;
  1347. return $this;
  1348. }
  1349. /**
  1350. * @return mixed
  1351. */
  1352. public function getIsSettlement()
  1353. {
  1354. return $this->isSettlement;
  1355. }
  1356. /**
  1357. * @param mixed $isSettlement
  1358. * @return StoreOrderEntity
  1359. */
  1360. public function setIsSettlement($isSettlement): StoreOrderEntity
  1361. {
  1362. $this->isSettlement = $isSettlement;
  1363. return $this;
  1364. }
  1365. /**
  1366. * @return mixed
  1367. */
  1368. public function getSettlementTime()
  1369. {
  1370. return $this->settlementTime;
  1371. }
  1372. /**
  1373. * @param mixed $settlementTime
  1374. * @return StoreOrderEntity
  1375. */
  1376. public function setSettlementTime($settlementTime): StoreOrderEntity
  1377. {
  1378. $this->settlementTime = $settlementTime;
  1379. return $this;
  1380. }
  1381. /**
  1382. * @return mixed
  1383. */
  1384. public function getShareUid()
  1385. {
  1386. return $this->shareUid;
  1387. }
  1388. /**
  1389. * @param mixed $shareUid
  1390. * @return StoreOrderEntity
  1391. */
  1392. public function setShareUid($shareUid): StoreOrderEntity
  1393. {
  1394. $this->shareUid = $shareUid;
  1395. return $this;
  1396. }
  1397. /**
  1398. * @return mixed
  1399. */
  1400. public function getConPri()
  1401. {
  1402. return $this->conPri;
  1403. }
  1404. /**
  1405. * @param mixed $conPri
  1406. * @return StoreOrderEntity
  1407. */
  1408. public function setConPri($conPri): StoreOrderEntity
  1409. {
  1410. $this->conPri = $conPri;
  1411. return $this;
  1412. }
  1413. /**
  1414. * @return mixed
  1415. */
  1416. public function getUserOfGoodsId()
  1417. {
  1418. return $this->userOfGoodsId;
  1419. }
  1420. /**
  1421. * @param mixed $userOfGoodsId
  1422. * @return StoreOrderEntity
  1423. */
  1424. public function setUserOfGoodsId($userOfGoodsId): StoreOrderEntity
  1425. {
  1426. $this->userOfGoodsId = $userOfGoodsId;
  1427. return $this;
  1428. }
  1429. /**
  1430. * @return mixed
  1431. */
  1432. public function getFzonePaytype()
  1433. {
  1434. return $this->fzonePaytype;
  1435. }
  1436. /**
  1437. * @param mixed $fzonePaytype
  1438. * @return StoreOrderEntity
  1439. */
  1440. public function setFzonePaytype($fzonePaytype): StoreOrderEntity
  1441. {
  1442. if (is_array($fzonePaytype)) {
  1443. $this->fzonePaytype = json_encode($fzonePaytype);
  1444. $this->deconstructionFzonePaytype();
  1445. } else if (is_string($fzonePaytype)) {
  1446. if (!empty(json_decode($fzonePaytype, true))) {
  1447. $this->fzonePaytype = $fzonePaytype;
  1448. $this->deconstructionFzonePaytype();
  1449. }
  1450. }
  1451. return $this;
  1452. }
  1453. /**
  1454. * @return mixed
  1455. */
  1456. public function getFzonePayJingdou()
  1457. {
  1458. return $this->fzonePayJingdou;
  1459. }
  1460. /**
  1461. * @param mixed $fzonePayJingdou
  1462. * @return StoreOrderEntity
  1463. */
  1464. public function setFzonePayJingdou($fzonePayJingdou): StoreOrderEntity
  1465. {
  1466. $this->fzonePayJingdou = $fzonePayJingdou;
  1467. return $this;
  1468. }
  1469. /**
  1470. * @return mixed
  1471. */
  1472. public function getFzonePayVr()
  1473. {
  1474. return $this->fzonePayVr;
  1475. }
  1476. /**
  1477. * @param mixed $fzonePayVr
  1478. * @return StoreOrderEntity
  1479. */
  1480. public function setFzonePayVr($fzonePayVr): StoreOrderEntity
  1481. {
  1482. $this->fzonePayVr = $fzonePayVr;
  1483. return $this;
  1484. }
  1485. /**
  1486. * @return mixed
  1487. */
  1488. public function getFzonePayJifen()
  1489. {
  1490. return $this->fzonePayJifen;
  1491. }
  1492. /**
  1493. * @param mixed $fzonePayJifen
  1494. * @return StoreOrderEntity
  1495. */
  1496. public function setFzonePayJifen($fzonePayJifen): StoreOrderEntity
  1497. {
  1498. $this->fzonePayJifen = $fzonePayJifen;
  1499. return $this;
  1500. }
  1501. /**
  1502. * @return mixed
  1503. */
  1504. public function getFzonePayPrice()
  1505. {
  1506. return $this->fzonePayPrice;
  1507. }
  1508. /**
  1509. * @param mixed $fzonePayPrice
  1510. * @return StoreOrderEntity
  1511. */
  1512. public function setFzonePayPrice($fzonePayPrice): StoreOrderEntity
  1513. {
  1514. $this->fzonePayPrice = $fzonePayPrice;
  1515. return $this;
  1516. }
  1517. /**
  1518. * @return mixed
  1519. */
  1520. public function getFzonePayOther()
  1521. {
  1522. return $this->fzonePayOther;
  1523. }
  1524. /**
  1525. * @param mixed $fzonePayOther
  1526. * @return StoreOrderEntity
  1527. */
  1528. public function setFzonePayOther($fzonePayOther): StoreOrderEntity
  1529. {
  1530. $this->fzonePayOther = $fzonePayOther;
  1531. return $this;
  1532. }
  1533. /**
  1534. * @return mixed
  1535. */
  1536. public function getFzonePayNote()
  1537. {
  1538. return $this->fzonePayNote;
  1539. }
  1540. /**
  1541. * @param mixed $fzonePayNote
  1542. * @return StoreOrderEntity
  1543. */
  1544. public function setFzonePayNote($fzonePayNote): StoreOrderEntity
  1545. {
  1546. $this->fzonePayNote = $fzonePayNote;
  1547. return $this;
  1548. }
  1549. /**
  1550. * @return mixed
  1551. */
  1552. public function getFzonePayTypeBySplit()
  1553. {
  1554. return $this->fzonePayType;
  1555. }
  1556. /**
  1557. * @param mixed $fzonePayType
  1558. * @return StoreOrderEntity
  1559. */
  1560. public function setFzonePayTypeBySplit($fzonePayType): StoreOrderEntity
  1561. {
  1562. $this->fzonePayType = $fzonePayType;
  1563. return $this;
  1564. }
  1565. /**
  1566. * @return mixed
  1567. */
  1568. public function getPensionJson()
  1569. {
  1570. if (is_json($this->pensionJson)) {
  1571. return json_decode($this->pensionJson, true);
  1572. }
  1573. return $this->pensionJson;
  1574. }
  1575. /**
  1576. * @param mixed $pensionJson
  1577. * @return StoreOrderEntity
  1578. */
  1579. public function setPensionJson($pensionJson): StoreOrderEntity
  1580. {
  1581. if (is_array($pensionJson)) {
  1582. $pensionJson = json_encode($pensionJson, JSON_UNESCAPED_UNICODE);
  1583. }
  1584. $this->pensionJson = $pensionJson;
  1585. return $this;
  1586. }
  1587. public function getPickUpId()
  1588. {
  1589. return $this->pickUpId;
  1590. }
  1591. public function setPickUpId($pickUpId): StoreOrderEntity
  1592. {
  1593. $this->pickUpId = $pickUpId;
  1594. return $this;
  1595. }
  1596. public function deconstructionFzonePaytype()
  1597. {
  1598. if (!empty($this->getFzonePayType()) && is_array(json_decode($this->getFzonePayType(), true))) {
  1599. /** @var FzonePayTypeEntity $fzonePayTypeEntity */
  1600. $fzonePayTypeEntity = FzonePayTypeEntity::newInstance(json_decode($this->getFzonePayType(), true));
  1601. $this->setFzonePayNote($fzonePayTypeEntity->getNote());
  1602. $this->setFzonePayTypeBySplit($fzonePayTypeEntity->getType());
  1603. // 验证支付方式
  1604. if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['B1-VR+Score']['code']) {
  1605. $this->setFzonePayVr($fzonePayTypeEntity->getPrice());
  1606. $this->setFzonePayJifen($fzonePayTypeEntity->getOther());
  1607. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['B2-Cash+Score']['code']) {
  1608. $this->setFzonePayPrice($fzonePayTypeEntity->getPrice());
  1609. $this->setFzonePayJifen($fzonePayTypeEntity->getOther());
  1610. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['B3-VR+Jingdou']['code']) {
  1611. $this->setFzonePayVr($fzonePayTypeEntity->getPrice());
  1612. $this->setFzonePayJingdou($fzonePayTypeEntity->getOther());
  1613. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['B4-Cash+Jingdou']['code']) {
  1614. $this->setFzonePayPrice($fzonePayTypeEntity->getPrice());
  1615. $this->setFzonePayJingdou($fzonePayTypeEntity->getOther());
  1616. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['B5-VR']['code']) {
  1617. $this->setFzonePayVr($fzonePayTypeEntity->getPrice());
  1618. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['B6-Cash']['code']) {
  1619. $this->setFzonePayPrice($fzonePayTypeEntity->getPrice());
  1620. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['A1-VR']['code']) {
  1621. $this->setFzonePayVr($fzonePayTypeEntity->getPrice());
  1622. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['A2-Cash']['code']) {
  1623. $this->setFzonePayPrice($fzonePayTypeEntity->getPrice());
  1624. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['A3-Cash+VR']['code']) {
  1625. $this->setFzonePayPrice($fzonePayTypeEntity->getPrice());
  1626. $this->setFzonePayVr($fzonePayTypeEntity->getOther());
  1627. } else if ($fzonePayTypeEntity->getType() == StoreOrderEnum::FZONE_PAY_TYPE['C1-Fugou']['code']) {
  1628. $this->setFzonePayOther($fzonePayTypeEntity->getPrice());
  1629. }
  1630. }
  1631. }
  1632. }