EffectDataReq.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?php
  2. namespace UnionOpenStatisticsGiftcouponQuery;
  3. class EffectDataReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.statistics.GiftCouponEffectDataReq";
  7. }
  8. private $skuId;
  9. public function setSkuId($skuId){
  10. $this->params['skuId'] = $skuId;
  11. }
  12. public function getSkuId(){
  13. return $this->skuId;
  14. }
  15. private $giftCouponKey;
  16. public function setGiftCouponKey($giftCouponKey){
  17. $this->params['giftCouponKey'] = $giftCouponKey;
  18. }
  19. public function getGiftCouponKey(){
  20. return $this->giftCouponKey;
  21. }
  22. private $createTime;
  23. public function setCreateTime($createTime){
  24. $this->params['createTime'] = $createTime;
  25. }
  26. public function getCreateTime(){
  27. return $this->createTime;
  28. }
  29. private $startTime;
  30. public function setStartTime($startTime){
  31. $this->params['startTime'] = $startTime;
  32. }
  33. public function getStartTime(){
  34. return $this->startTime;
  35. }
  36. private $key;
  37. public function setKey($key){
  38. $this->params['key'] = $key;
  39. }
  40. public function getKey(){
  41. return $this->key;
  42. }
  43. private $targetType;
  44. public function setTargetType($targetType){
  45. $this->params['targetType'] = $targetType;
  46. }
  47. public function getTargetType(){
  48. return $this->targetType;
  49. }
  50. private $pin;
  51. public function setPin($pin){
  52. $this->params['pin'] = $pin;
  53. }
  54. public function getPin(){
  55. return $this->pin;
  56. }
  57. private $itemId;
  58. public function setItemId($itemId){
  59. $this->params['itemId'] = $itemId;
  60. }
  61. public function getItemId(){
  62. return $this->itemId;
  63. }
  64. function getInstance(){
  65. return $this->params;
  66. }
  67. }
  68. ?>