CouponReq.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?php
  2. namespace UnionOpenCouponGiftGet;
  3. class CouponReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.coupon.gift.CreateGiftCouponReq";
  7. }
  8. private $skuMaterialId;
  9. public function setSkuMaterialId($skuMaterialId){
  10. $this->params['skuMaterialId'] = $skuMaterialId;
  11. }
  12. public function getSkuMaterialId(){
  13. return $this->skuMaterialId;
  14. }
  15. private $discount;
  16. public function setDiscount($discount){
  17. $this->params['discount'] = $discount;
  18. }
  19. public function getDiscount(){
  20. return $this->discount;
  21. }
  22. private $amount;
  23. public function setAmount($amount){
  24. $this->params['amount'] = $amount;
  25. }
  26. public function getAmount(){
  27. return $this->amount;
  28. }
  29. private $receiveStartTime;
  30. public function setReceiveStartTime($receiveStartTime){
  31. $this->params['receiveStartTime'] = $receiveStartTime;
  32. }
  33. public function getReceiveStartTime(){
  34. return $this->receiveStartTime;
  35. }
  36. private $receiveEndTime;
  37. public function setReceiveEndTime($receiveEndTime){
  38. $this->params['receiveEndTime'] = $receiveEndTime;
  39. }
  40. public function getReceiveEndTime(){
  41. return $this->receiveEndTime;
  42. }
  43. private $effectiveDays;
  44. public function setEffectiveDays($effectiveDays){
  45. $this->params['effectiveDays'] = $effectiveDays;
  46. }
  47. public function getEffectiveDays(){
  48. return $this->effectiveDays;
  49. }
  50. private $isSpu;
  51. public function setIsSpu($isSpu){
  52. $this->params['isSpu'] = $isSpu;
  53. }
  54. public function getIsSpu(){
  55. return $this->isSpu;
  56. }
  57. private $expireType;
  58. public function setExpireType($expireType){
  59. $this->params['expireType'] = $expireType;
  60. }
  61. public function getExpireType(){
  62. return $this->expireType;
  63. }
  64. private $useStartTime;
  65. public function setUseStartTime($useStartTime){
  66. $this->params['useStartTime'] = $useStartTime;
  67. }
  68. public function getUseStartTime(){
  69. return $this->useStartTime;
  70. }
  71. private $useEndTime;
  72. public function setUseEndTime($useEndTime){
  73. $this->params['useEndTime'] = $useEndTime;
  74. }
  75. public function getUseEndTime(){
  76. return $this->useEndTime;
  77. }
  78. private $share;
  79. public function setShare($share){
  80. $this->params['share'] = $share;
  81. }
  82. public function getShare(){
  83. return $this->share;
  84. }
  85. private $contentMatch;
  86. public function setContentMatch($contentMatch){
  87. $this->params['contentMatch'] = $contentMatch;
  88. }
  89. public function getContentMatch(){
  90. return $this->contentMatch;
  91. }
  92. private $couponTitle;
  93. public function setCouponTitle($couponTitle){
  94. $this->params['couponTitle'] = $couponTitle;
  95. }
  96. public function getCouponTitle(){
  97. return $this->couponTitle;
  98. }
  99. private $contentMatchMedias;
  100. public function setContentMatchMedias($contentMatchMedias){
  101. $this->params['contentMatchMedias'] = $contentMatchMedias;
  102. }
  103. public function getContentMatchMedias(){
  104. return $this->contentMatchMedias;
  105. }
  106. private $showInMedias;
  107. public function setShowInMedias($showInMedias){
  108. $this->params['showInMedias'] = $showInMedias;
  109. }
  110. public function getShowInMedias(){
  111. return $this->showInMedias;
  112. }
  113. private $targetType;
  114. public function setTargetType($targetType){
  115. $this->params['targetType'] = $targetType;
  116. }
  117. public function getTargetType(){
  118. return $this->targetType;
  119. }
  120. private $childPromoters;
  121. public function setChildPromoters($childPromoters){
  122. $this->params['childPromoters'] = $childPromoters;
  123. }
  124. public function getChildPromoters(){
  125. return $this->childPromoters;
  126. }
  127. function getInstance(){
  128. return $this->params;
  129. }
  130. }
  131. ?>