TradePreorderWechaAccBusiFields.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php
  2. /**
  3. * 微信主扫场景下acc_busi_fields域内容
  4. * TradePreorderWechaAccBusiFields
  5. * PHP version 7.4
  6. *
  7. * @category Class
  8. * @package Lakala\OpenAPISDK\V3\Model
  9. * @author lucongyu
  10. * @link https://o.lakala.com
  11. */
  12. namespace SixShop\Lakala\OpenAPISDK\V3\Model;
  13. use SixShop\Lakala\OpenAPISDK\V3\ObjectSerializer;
  14. class TradePreorderWechaAccBusiFields extends TradeAccBusiFields implements \JsonSerializable
  15. {
  16. protected $timeoutExpress;
  17. protected $subAppid;
  18. protected $userId;
  19. protected $detail;
  20. protected $goodsTag;
  21. protected $attach;
  22. protected $deviceInfo;
  23. protected $limitPay;
  24. protected $sceneInfo;
  25. protected $limitPayer;
  26. public function setTimeoutExpress($timeoutExpress)
  27. {
  28. $this->timeoutExpress = $timeoutExpress;
  29. return $this;
  30. }
  31. public function getTimeoutExpress()
  32. {
  33. return $this->timeoutExpress;
  34. }
  35. public function setSubAppid($subAppid)
  36. {
  37. $this->subAppid = $subAppid;
  38. return $this;
  39. }
  40. public function getSubAppid()
  41. {
  42. return $this->subAppid;
  43. }
  44. public function setUserId($userId)
  45. {
  46. $this->userId = $userId;
  47. return $this;
  48. }
  49. public function getUserId()
  50. {
  51. return $this->userId;
  52. }
  53. public function setDetail($detail)
  54. {
  55. $this->detail = $detail;
  56. return $this;
  57. }
  58. public function getDetail()
  59. {
  60. return $this->detail;
  61. }
  62. public function setGoodsTag($goodsTag)
  63. {
  64. $this->goodsTag = $goodsTag;
  65. return $this;
  66. }
  67. public function getGoodsTag()
  68. {
  69. return $this->goodsTag;
  70. }
  71. public function setAttach($attach)
  72. {
  73. $this->attach = $attach;
  74. return $this;
  75. }
  76. public function getAttach()
  77. {
  78. return $this->attach;
  79. }
  80. public function setDeviceInfo($deviceInfo)
  81. {
  82. $this->deviceInfo = $deviceInfo;
  83. return $this;
  84. }
  85. public function getDeviceInfo()
  86. {
  87. return $this->deviceInfo;
  88. }
  89. public function setLimitPay($limitPay)
  90. {
  91. $this->limitPay = $limitPay;
  92. return $this;
  93. }
  94. public function getLimitPay()
  95. {
  96. return $this->limitPay;
  97. }
  98. public function setSceneInfo($sceneInfo)
  99. {
  100. $this->sceneInfo = $sceneInfo;
  101. return $this;
  102. }
  103. public function getSceneInfo()
  104. {
  105. return $this->sceneInfo;
  106. }
  107. public function setLimitPayer($limitPayer)
  108. {
  109. $this->limitPayer = $limitPayer;
  110. return $this;
  111. }
  112. public function getLimitPayer()
  113. {
  114. return $this->limitPayer;
  115. }
  116. #[\ReturnTypeWillChange]
  117. public function jsonSerialize(): mixed
  118. {
  119. return [
  120. 'timeout_express' => $this->timeoutExpress,
  121. 'sub_appid' => $this->subAppid,
  122. 'user_id' => $this->userId,
  123. 'detail' => ObjectSerializer::jsonencode($this->detail),
  124. 'goods_tag' => $this->goodsTag,
  125. 'attach' => $this->attach,
  126. 'device_info' => $this->deviceInfo,
  127. 'limit_pay' => $this->limitPay,
  128. 'scene_info' => $this->sceneInfo,
  129. 'limit_payer' => $this->limitPayer,
  130. ];
  131. }
  132. }