PromotionCodeReq.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?php
  2. namespace UnionOpenPromotionBysubunionidGet;
  3. class PromotionCodeReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.promotion.base.PromotionCodeReq";
  7. }
  8. private $materialId;
  9. public function setMaterialId($materialId){
  10. $this->params['materialId'] = $materialId;
  11. }
  12. public function getMaterialId(){
  13. return $this->materialId;
  14. }
  15. private $subUnionId;
  16. public function setSubUnionId($subUnionId){
  17. $this->params['subUnionId'] = $subUnionId;
  18. }
  19. public function getSubUnionId(){
  20. return $this->subUnionId;
  21. }
  22. private $positionId;
  23. public function setPositionId($positionId){
  24. $this->params['positionId'] = $positionId;
  25. }
  26. public function getPositionId(){
  27. return $this->positionId;
  28. }
  29. private $pid;
  30. public function setPid($pid){
  31. $this->params['pid'] = $pid;
  32. }
  33. public function getPid(){
  34. return $this->pid;
  35. }
  36. private $couponUrl;
  37. public function setCouponUrl($couponUrl){
  38. $this->params['couponUrl'] = $couponUrl;
  39. }
  40. public function getCouponUrl(){
  41. return $this->couponUrl;
  42. }
  43. private $chainType;
  44. public function setChainType($chainType){
  45. $this->params['chainType'] = $chainType;
  46. }
  47. public function getChainType(){
  48. return $this->chainType;
  49. }
  50. private $giftCouponKey;
  51. public function setGiftCouponKey($giftCouponKey){
  52. $this->params['giftCouponKey'] = $giftCouponKey;
  53. }
  54. public function getGiftCouponKey(){
  55. return $this->giftCouponKey;
  56. }
  57. private $channelId;
  58. public function setChannelId($channelId){
  59. $this->params['channelId'] = $channelId;
  60. }
  61. public function getChannelId(){
  62. return $this->channelId;
  63. }
  64. private $command;
  65. public function setCommand($command){
  66. $this->params['command'] = $command;
  67. }
  68. public function getCommand(){
  69. return $this->command;
  70. }
  71. private $weChatType;
  72. public function setWeChatType($weChatType){
  73. $this->params['weChatType'] = $weChatType;
  74. }
  75. public function getWeChatType(){
  76. return $this->weChatType;
  77. }
  78. private $rid;
  79. public function setRid($rid){
  80. $this->params['rid'] = $rid;
  81. }
  82. public function getRid(){
  83. return $this->rid;
  84. }
  85. private $sceneId;
  86. public function setSceneId($sceneId){
  87. $this->params['sceneId'] = $sceneId;
  88. }
  89. public function getSceneId(){
  90. return $this->sceneId;
  91. }
  92. private $proType;
  93. public function setProType($proType){
  94. $this->params['proType'] = $proType;
  95. }
  96. public function getProType(){
  97. return $this->proType;
  98. }
  99. function getInstance(){
  100. return $this->params;
  101. }
  102. }
  103. ?>