HandleOrderParamBean.php 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. <?php
  2. namespace App\Http\Bean\Cron\logic;
  3. use App\Http\Bean\BaseBean;
  4. class HandleOrderParamBean extends BaseBean
  5. {
  6. /**
  7. * 订单编号
  8. * @var string $orderNumber
  9. */
  10. private $orderNumber;
  11. /**
  12. * 支付时间(Y-m-d H:i:s)
  13. * @var string $payTime
  14. */
  15. private $payTime;
  16. /**
  17. * 订单用户实际支付金额(单位为分)
  18. * @var string $orderPrice
  19. */
  20. private $orderPrice;
  21. /**
  22. * 订单佣金(单位为分)
  23. * @var string $orderCommission
  24. */
  25. private $orderCommission;
  26. /**
  27. * 用户推广位ID
  28. * @var string $userSpreadId
  29. */
  30. private $userSpreadId;
  31. /**
  32. * 平台推广位ID
  33. * @var string $platformSpreadId
  34. */
  35. private $platformSpreadId;
  36. /**
  37. * 订单标题
  38. * @var string $orderTitle
  39. */
  40. private $orderTitle;
  41. /**
  42. * 订单退款金额(单位为分)
  43. * @var string $orderRefundPrice
  44. */
  45. private $orderRefundPrice;
  46. /**
  47. * 订单退款时间(Y-m-d H:i:s)
  48. * @var string $orderRefundTime;
  49. */
  50. private $orderRefundTime;
  51. /**
  52. * 订单退款扣除的佣金(单位为分)
  53. * @var string $orderRefundCommission
  54. */
  55. private $orderRefundCommission;
  56. /**
  57. * 订单状态(详情参考OrderStatusEnum枚举类)
  58. * @var string $orderStatus
  59. */
  60. private $orderStatus;
  61. /**
  62. * 订单优惠券
  63. * @var string $orderCouponPrice
  64. */
  65. private $orderCouponPrice;
  66. /**
  67. * 渠道ID(目前只有淘宝存在)
  68. * @var string $orderChannelId
  69. */
  70. private $orderChannelId;
  71. /**
  72. * 商品图片
  73. * @var string $productImgUrl
  74. */
  75. private $productImgUrl;
  76. /**
  77. * 推广位平台(详情参考PlatformTypeEnum枚举类)
  78. * @var $platformType int
  79. */
  80. private $spreadType;
  81. /**
  82. * 推广子平台(详情参考PlatformTypeSonEnum枚举类)
  83. * @var int $spreadSonType
  84. */
  85. private $spreadSonType;
  86. /**
  87. * 订单创建时间
  88. */
  89. private $createdAt;
  90. /**
  91. * @return mixed
  92. */
  93. public function getCreatedAt()
  94. {
  95. return $this->createdAt;
  96. }
  97. /**
  98. * @param mixed $createdAt
  99. */
  100. public function setCreatedAt($createdAt): void
  101. {
  102. $this->createdAt = $createdAt;
  103. }
  104. /**
  105. * @return string
  106. */
  107. public function getOrderNumber()
  108. {
  109. return $this->orderNumber;
  110. }
  111. /**
  112. * @param string $orderNumber
  113. */
  114. public function setOrderNumber(string $orderNumber): void
  115. {
  116. $this->orderNumber = $orderNumber;
  117. }
  118. /**
  119. * @return string
  120. */
  121. public function getPayTime()
  122. {
  123. return $this->payTime;
  124. }
  125. /**
  126. * @param string $payTime
  127. */
  128. public function setPayTime($payTime): void
  129. {
  130. $this->payTime = $payTime;
  131. }
  132. /**
  133. * @return string
  134. */
  135. public function getOrderPrice()
  136. {
  137. return $this->orderPrice;
  138. }
  139. /**
  140. * @param string $orderPrice
  141. */
  142. public function setOrderPrice($orderPrice): void
  143. {
  144. $this->orderPrice = $orderPrice;
  145. }
  146. /**
  147. * @return string
  148. */
  149. public function getOrderCommission()
  150. {
  151. return $this->orderCommission;
  152. }
  153. /**
  154. * @param string $orderCommission
  155. */
  156. public function setOrderCommission($orderCommission): void
  157. {
  158. $this->orderCommission = $orderCommission;
  159. }
  160. /**
  161. * @return string
  162. */
  163. public function getUserSpreadId()
  164. {
  165. return $this->userSpreadId;
  166. }
  167. /**
  168. * @param string $userSpreadId
  169. */
  170. public function setUserSpreadId($userSpreadId): void
  171. {
  172. $this->userSpreadId = $userSpreadId;
  173. }
  174. /**
  175. * @return string
  176. */
  177. public function getPlatformSpreadId()
  178. {
  179. return $this->platformSpreadId;
  180. }
  181. /**
  182. * @param string $platformSpreadId
  183. */
  184. public function setPlatformSpreadId($platformSpreadId): void
  185. {
  186. $this->platformSpreadId = $platformSpreadId;
  187. }
  188. /**
  189. * @return string
  190. */
  191. public function getOrderTitle()
  192. {
  193. return $this->orderTitle;
  194. }
  195. /**
  196. * @param string $orderTitle
  197. */
  198. public function setOrderTitle($orderTitle): void
  199. {
  200. $this->orderTitle = $orderTitle;
  201. }
  202. /**
  203. * @return string
  204. */
  205. public function getOrderRefundPrice()
  206. {
  207. return $this->orderRefundPrice;
  208. }
  209. /**
  210. * @param string $orderRefundPrice
  211. */
  212. public function setOrderRefundPrice($orderRefundPrice): void
  213. {
  214. $this->orderRefundPrice = $orderRefundPrice;
  215. }
  216. /**
  217. * @return string
  218. */
  219. public function getOrderRefundTime()
  220. {
  221. return $this->orderRefundTime;
  222. }
  223. /**
  224. * @param string $orderRefundTime
  225. */
  226. public function setOrderRefundTime($orderRefundTime): void
  227. {
  228. $this->orderRefundTime = $orderRefundTime;
  229. }
  230. /**
  231. * @return string
  232. */
  233. public function getOrderRefundCommission()
  234. {
  235. return $this->orderRefundCommission;
  236. }
  237. /**
  238. * @param string $orderRefundCommission
  239. */
  240. public function setOrderRefundCommission($orderRefundCommission): void
  241. {
  242. $this->orderRefundCommission = $orderRefundCommission;
  243. }
  244. /**
  245. * @return string
  246. */
  247. public function getOrderStatus()
  248. {
  249. return $this->orderStatus;
  250. }
  251. /**
  252. * @param string $orderStatus
  253. */
  254. public function setOrderStatus($orderStatus): void
  255. {
  256. $this->orderStatus = $orderStatus;
  257. }
  258. /**
  259. * @return string
  260. */
  261. public function getOrderCouponPrice(): string
  262. {
  263. return $this->orderCouponPrice;
  264. }
  265. /**
  266. * @param string $orderCouponPrice
  267. */
  268. public function setOrderCouponPrice(string $orderCouponPrice): void
  269. {
  270. $this->orderCouponPrice = $orderCouponPrice;
  271. }
  272. /**
  273. * @return string
  274. */
  275. public function getOrderChannelId(): string
  276. {
  277. return $this->orderChannelId;
  278. }
  279. /**
  280. * @param string $orderChannelId
  281. */
  282. public function setOrderChannelId(string $orderChannelId): void
  283. {
  284. $this->orderChannelId = $orderChannelId;
  285. }
  286. /**
  287. * @return string
  288. */
  289. public function getProductImgUrl(): string
  290. {
  291. return $this->productImgUrl;
  292. }
  293. /**
  294. * @param string $productImgUrl
  295. */
  296. public function setProductImgUrl(string $productImgUrl): void
  297. {
  298. $this->productImgUrl = $productImgUrl;
  299. }
  300. /**
  301. * @return int
  302. */
  303. public function getSpreadType(): int
  304. {
  305. return $this->spreadType;
  306. }
  307. /**
  308. * @param int $spreadType
  309. */
  310. public function setSpreadType(int $spreadType): void
  311. {
  312. $this->spreadType = $spreadType;
  313. }
  314. /**
  315. * @return int
  316. */
  317. public function getSpreadSonType(): int
  318. {
  319. return $this->spreadSonType;
  320. }
  321. /**
  322. * @param int $spreadSonType
  323. */
  324. public function setSpreadSonType(int $spreadSonType): void
  325. {
  326. $this->spreadSonType = $spreadSonType;
  327. }
  328. }