GetCodeByTaskIdReq.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?php
  2. namespace UnionOpenShPromotionGet;
  3. class GetCodeByTaskIdReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.cid.GetCodeByTaskIdReq";
  7. }
  8. private $account;
  9. public function setAccount($account){
  10. $this->params['account'] = $account;
  11. }
  12. public function getAccount(){
  13. return $this->account;
  14. }
  15. private $materialId;
  16. public function setMaterialId($materialId){
  17. $this->params['materialId'] = $materialId;
  18. }
  19. public function getMaterialId(){
  20. return $this->materialId;
  21. }
  22. private $taskId;
  23. public function setTaskId($taskId){
  24. $this->params['taskId'] = $taskId;
  25. }
  26. public function getTaskId(){
  27. return $this->taskId;
  28. }
  29. private $ext1;
  30. public function setExt1($ext1){
  31. $this->params['ext1'] = $ext1;
  32. }
  33. public function getExt1(){
  34. return $this->ext1;
  35. }
  36. private $pid;
  37. public function setPid($pid){
  38. $this->params['pid'] = $pid;
  39. }
  40. public function getPid(){
  41. return $this->pid;
  42. }
  43. private $couponUrl;
  44. public function setCouponUrl($couponUrl){
  45. $this->params['couponUrl'] = $couponUrl;
  46. }
  47. public function getCouponUrl(){
  48. return $this->couponUrl;
  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 $sceneId;
  65. public function setSceneId($sceneId){
  66. $this->params['sceneId'] = $sceneId;
  67. }
  68. public function getSceneId(){
  69. return $this->sceneId;
  70. }
  71. function getInstance(){
  72. return $this->params;
  73. }
  74. }
  75. ?>