StoreOrderEntity.php 39 KB

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