GoodsPromotionUrlGenerateParamBean.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. <?php
  2. namespace App\Http\Bean\Util\Pdd\Ddk;
  3. use App\Http\Bean\BaseBean;
  4. class GoodsPromotionUrlGenerateParamBean extends BaseBean
  5. {
  6. /**
  7. * 多多礼金ID
  8. */
  9. public $cash_gift_id;
  10. /**
  11. * 自定义礼金标题,用于向用户展示渠道专属福利,不超过12个字
  12. */
  13. public $cash_gift_name;
  14. /**
  15. * 自定义参数json
  16. */
  17. public $custom_parameters;
  18. /**
  19. * 是否生成带授权的单品链接。如果未授权,则会走授权流程
  20. */
  21. public $generate_authority_url;
  22. /**
  23. * 是否生成店铺收藏券推广链接
  24. */
  25. public $generate_mall_collect_coupon;
  26. /**
  27. * 是否生成qq小程序
  28. */
  29. public $generate_qq_app;
  30. /**
  31. * 是否返回 schema URL
  32. */
  33. public $generate_schema_url;
  34. /**
  35. * 是否生成短链接,true-是,false-否
  36. */
  37. public $generate_short_url;
  38. /**
  39. * 是否生成拼多多福利券微信小程序推广信息
  40. */
  41. public $generate_we_app;
  42. /**
  43. * 商品goodsSign列表,例如:["c9r2omogKFFAc7WBwvbZU1ikIb16_J3CTa8HNN"],
  44. */
  45. public $goods_sign_list;
  46. /**
  47. * true--生成多人团推广链接 false--生成单人团推广链接(默认false)1、单人团推广链接:用户访问单人团推广链接,可直接购买商品无需拼团。2、多人团推广链接:用户访问双人团推广链接开团,若用户分享给他人参团,则开团者和参团者的佣金均结算给推手
  48. */
  49. public $multi_group;
  50. /**
  51. * 推广位ID
  52. */
  53. protected $p_id;
  54. /**
  55. * 搜索id,建议填写,提高收益。来自pdd.ddk.goods.recommend.get、pdd.ddk.goods.search、pdd.ddk.top.goods.list.query等接口
  56. */
  57. public $search_id;
  58. /**
  59. * 招商多多客ID
  60. */
  61. public $zs_duo_id;
  62. /**
  63. * @return mixed
  64. */
  65. public function getCashGiftId()
  66. {
  67. return $this->cash_gift_id;
  68. }
  69. /**
  70. * @param mixed $cash_gift_id
  71. */
  72. public function setCashGiftId($cash_gift_id)
  73. {
  74. $this->cash_gift_id = $cash_gift_id;
  75. }
  76. /**
  77. * @return mixed
  78. */
  79. public function getCashGiftName()
  80. {
  81. return $this->cash_gift_name;
  82. }
  83. /**
  84. * @param mixed $cash_gift_name
  85. */
  86. public function setCashGiftName($cash_gift_name)
  87. {
  88. $this->cash_gift_name = $cash_gift_name;
  89. }
  90. /**
  91. * @return mixed
  92. */
  93. public function getCustomParameters()
  94. {
  95. return $this->custom_parameters;
  96. }
  97. /**
  98. * @param mixed $custom_parameters
  99. */
  100. public function setCustomParameters($custom_parameters)
  101. {
  102. $this->custom_parameters = $custom_parameters;
  103. }
  104. /**
  105. * @return mixed
  106. */
  107. public function getGenerateAuthorityUrl()
  108. {
  109. return $this->generate_authority_url;
  110. }
  111. /**
  112. * @param mixed $generate_authority_url
  113. */
  114. public function setGenerateAuthorityUrl($generate_authority_url)
  115. {
  116. $this->generate_authority_url = $generate_authority_url;
  117. }
  118. /**
  119. * @return mixed
  120. */
  121. public function getGenerateMallCollectCoupon()
  122. {
  123. return $this->generate_mall_collect_coupon;
  124. }
  125. /**
  126. * @param mixed $generate_mall_collect_coupon
  127. */
  128. public function setGenerateMallCollectCoupon($generate_mall_collect_coupon)
  129. {
  130. $this->generate_mall_collect_coupon = $generate_mall_collect_coupon;
  131. }
  132. /**
  133. * @return mixed
  134. */
  135. public function getGenerateQqApp()
  136. {
  137. return $this->generate_qq_app;
  138. }
  139. /**
  140. * @param mixed $generate_qq_app
  141. */
  142. public function setGenerateQqApp($generate_qq_app)
  143. {
  144. $this->generate_qq_app = $generate_qq_app;
  145. }
  146. /**
  147. * @return mixed
  148. */
  149. public function getGenerateSchemaUrl()
  150. {
  151. return $this->generate_schema_url;
  152. }
  153. /**
  154. * @param mixed $generate_schema_url
  155. */
  156. public function setGenerateSchemaUrl($generate_schema_url)
  157. {
  158. $this->generate_schema_url = $generate_schema_url;
  159. }
  160. /**
  161. * @return mixed
  162. */
  163. public function getGenerateShortUrl()
  164. {
  165. return $this->generate_short_url;
  166. }
  167. /**
  168. * @param mixed $generate_short_url
  169. */
  170. public function setGenerateShortUrl($generate_short_url)
  171. {
  172. $this->generate_short_url = $generate_short_url;
  173. }
  174. /**
  175. * @return mixed
  176. */
  177. public function getGenerateWeApp()
  178. {
  179. return $this->generate_we_app;
  180. }
  181. /**
  182. * @param mixed $generate_we_app
  183. */
  184. public function setGenerateWeApp($generate_we_app)
  185. {
  186. $this->generate_we_app = $generate_we_app;
  187. }
  188. /**
  189. * @return mixed
  190. */
  191. public function getGoodsSignList()
  192. {
  193. return $this->goods_sign_list;
  194. }
  195. /**
  196. * @param mixed $goods_sign_list
  197. */
  198. public function setGoodsSignList($goods_sign_list)
  199. {
  200. $this->goods_sign_list = $goods_sign_list;
  201. }
  202. /**
  203. * @return mixed
  204. */
  205. public function getMultiGroup()
  206. {
  207. return $this->multi_group;
  208. }
  209. /**
  210. * @param mixed $multi_group
  211. */
  212. public function setMultiGroup($multi_group)
  213. {
  214. $this->multi_group = $multi_group;
  215. }
  216. /**
  217. * @return mixed
  218. */
  219. public function getPId()
  220. {
  221. return $this->p_id;
  222. }
  223. /**
  224. * @param mixed $p_id
  225. */
  226. public function setPId($p_id)
  227. {
  228. $this->p_id = $p_id;
  229. }
  230. /**
  231. * @return mixed
  232. */
  233. public function getSearchId()
  234. {
  235. return $this->search_id;
  236. }
  237. /**
  238. * @param mixed $search_id
  239. */
  240. public function setSearchId($search_id)
  241. {
  242. $this->search_id = $search_id;
  243. }
  244. /**
  245. * @return mixed
  246. */
  247. public function getZsDuoId()
  248. {
  249. return $this->zs_duo_id;
  250. }
  251. /**
  252. * @param mixed $zs_duo_id
  253. */
  254. public function setZsDuoId($zs_duo_id)
  255. {
  256. $this->zs_duo_id = $zs_duo_id;
  257. }
  258. }