KplOpenWareZhaoshangGoodsQueryRequest.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. class KplOpenWareZhaoshangGoodsQueryRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName(){
  6. return "jingdong.kpl.open.ware.zhaoshang.goods.query";
  7. }
  8. public function getApiParas(){
  9. if(empty($this->apiParas)){
  10. return "{}";
  11. }
  12. return $this->apiParas;
  13. }
  14. public function check(){
  15. }
  16. public function putOtherTextParam($key, $value){
  17. $this->apiParas[$key] = $value;
  18. $this->$key = $value;
  19. }
  20. private $version;
  21. public function setVersion($version){
  22. $this->version = $version;
  23. }
  24. public function getVersion(){
  25. return $this->version;
  26. }
  27. private $pageIndex;
  28. public function setPageIndex($pageIndex){
  29. $this->pageIndex = $pageIndex;
  30. $this->apiParas["pageIndex"] = $pageIndex;
  31. }
  32. public function getPageIndex(){
  33. return $this->pageIndex;
  34. }
  35. private $pageSize;
  36. public function setPageSize($pageSize){
  37. $this->pageSize = $pageSize;
  38. $this->apiParas["pageSize"] = $pageSize;
  39. }
  40. public function getPageSize(){
  41. return $this->pageSize;
  42. }
  43. }