SnapShopGoodsReq.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php
  2. namespace UnionOpenGoodsSnapshopQuery;
  3. class SnapShopGoodsReq{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.goods.snapshop.SnapShopGoodsReq";
  7. }
  8. private $imageData;
  9. public function setImageData($imageData){
  10. $this->params['imageData'] = $imageData;
  11. }
  12. public function getImageData(){
  13. return $this->imageData;
  14. }
  15. private $imageId;
  16. public function setImageId($imageId){
  17. $this->params['imageId'] = $imageId;
  18. }
  19. public function getImageId(){
  20. return $this->imageId;
  21. }
  22. private $pageIndex;
  23. public function setPageIndex($pageIndex){
  24. $this->params['pageIndex'] = $pageIndex;
  25. }
  26. public function getPageIndex(){
  27. return $this->pageIndex;
  28. }
  29. private $pageSize;
  30. public function setPageSize($pageSize){
  31. $this->params['pageSize'] = $pageSize;
  32. }
  33. public function getPageSize(){
  34. return $this->pageSize;
  35. }
  36. private $sortName;
  37. public function setSortName($sortName){
  38. $this->params['sortName'] = $sortName;
  39. }
  40. public function getSortName(){
  41. return $this->sortName;
  42. }
  43. private $sort;
  44. public function setSort($sort){
  45. $this->params['sort'] = $sort;
  46. }
  47. public function getSort(){
  48. return $this->sort;
  49. }
  50. private $userIdType;
  51. public function setUserIdType($userIdType){
  52. $this->params['userIdType'] = $userIdType;
  53. }
  54. public function getUserIdType(){
  55. return $this->userIdType;
  56. }
  57. private $userId;
  58. public function setUserId($userId){
  59. $this->params['userId'] = $userId;
  60. }
  61. public function getUserId(){
  62. return $this->userId;
  63. }
  64. private $channelId;
  65. public function setChannelId($channelId){
  66. $this->params['channelId'] = $channelId;
  67. }
  68. public function getChannelId(){
  69. return $this->channelId;
  70. }
  71. private $ip;
  72. public function setIp($ip){
  73. $this->params['ip'] = $ip;
  74. }
  75. public function getIp(){
  76. return $this->ip;
  77. }
  78. private $provinceId;
  79. public function setProvinceId($provinceId){
  80. $this->params['provinceId'] = $provinceId;
  81. }
  82. public function getProvinceId(){
  83. return $this->provinceId;
  84. }
  85. private $cityId;
  86. public function setCityId($cityId){
  87. $this->params['cityId'] = $cityId;
  88. }
  89. public function getCityId(){
  90. return $this->cityId;
  91. }
  92. private $countryId;
  93. public function setCountryId($countryId){
  94. $this->params['countryId'] = $countryId;
  95. }
  96. public function getCountryId(){
  97. return $this->countryId;
  98. }
  99. private $townId;
  100. public function setTownId($townId){
  101. $this->params['townId'] = $townId;
  102. }
  103. public function getTownId(){
  104. return $this->townId;
  105. }
  106. function getInstance(){
  107. return $this->params;
  108. }
  109. }
  110. ?>