| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <?php
- class SearchWareRequest
- {
- private $apiParas = array();
-
- public function getApiMethodName(){
- return "jingdong.search.ware";
- }
-
- public function getApiParas(){
- if(empty($this->apiParas)){
- return "{}";
- }
- return $this->apiParas;
- }
-
- public function check(){
-
- }
-
- public function putOtherTextParam($key, $value){
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- private $version;
- public function setVersion($version){
- $this->version = $version;
- }
- public function getVersion(){
- return $this->version;
- }
- private $key;
-
- public function setKey($key){
- $this->key = $key;
- $this->apiParas["key"] = $key;
- }
- public function getKey(){
- return $this->key;
- }
- private $filtType;
-
- public function setFiltType($filtType){
- $this->filtType = $filtType;
- $this->apiParas["filt_type"] = $filtType;
- }
- public function getFiltType(){
- return $this->filtType;
- }
- private $areaIds;
-
- public function setAreaIds($areaIds){
- $this->areaIds = $areaIds;
- $this->apiParas["area_ids"] = $areaIds;
- }
- public function getAreaIds(){
- return $this->areaIds;
- }
- private $sortType;
-
- public function setSortType($sortType){
- $this->sortType = $sortType;
- $this->apiParas["sort_type"] = $sortType;
- }
- public function getSortType(){
- return $this->sortType;
- }
- private $page;
-
- public function setPage($page){
- $this->page = $page;
- $this->apiParas["page"] = $page;
- }
- public function getPage(){
- return $this->page;
- }
- private $charset;
-
- public function setCharset($charset){
- $this->charset = $charset;
- $this->apiParas["charset"] = $charset;
- }
- public function getCharset(){
- return $this->charset;
- }
- private $urlencode;
-
- public function setUrlencode($urlencode){
- $this->urlencode = $urlencode;
- $this->apiParas["urlencode"] = $urlencode;
- }
- public function getUrlencode(){
- return $this->urlencode;
- }
- }
-
-
|