, "activity_tags") */ private $activityTags; /** * @JsonProperty(Long, "cat_id") */ private $catId; /** * @JsonProperty(String, "custom_parameters") */ private $customParameters; /** * @JsonProperty(List, "goods_id_list") */ private $goodsIdList; /** * @JsonProperty(Boolean, "is_brand_goods") */ private $isBrandGoods; /** * @JsonProperty(String, "keyword") */ private $keyword; /** * @JsonProperty(String, "list_id") */ private $listId; /** * @JsonProperty(Integer, "merchant_type") */ private $merchantType; /** * @JsonProperty(List, "merchant_type_list") */ private $merchantTypeList; /** * @JsonProperty(Long, "opt_id") */ private $optId; /** * @JsonProperty(Integer, "page") */ private $page; /** * @JsonProperty(Integer, "page_size") */ private $pageSize; /** * @JsonProperty(String, "pid") */ private $pid; /** * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkGoodsSearchRequest_RangeListItem>, "range_list") */ private $rangeList; /** * @JsonProperty(Integer, "sort_type") */ private $sortType; /** * @JsonProperty(Boolean, "with_coupon") */ private $withCoupon; /** * @JsonProperty(List, "block_cats") */ private $blockCats; /** * @JsonProperty(List, "block_cat_packages") */ private $blockCatPackages; protected function setUserParams(&$params) { $this->setUserParam($params, "activity_tags", $this->activityTags); $this->setUserParam($params, "cat_id", $this->catId); $this->setUserParam($params, "custom_parameters", $this->customParameters); $this->setUserParam($params, "goods_id_list", $this->goodsIdList); $this->setUserParam($params, "is_brand_goods", $this->isBrandGoods); $this->setUserParam($params, "keyword", $this->keyword); $this->setUserParam($params, "list_id", $this->listId); $this->setUserParam($params, "merchant_type", $this->merchantType); $this->setUserParam($params, "merchant_type_list", $this->merchantTypeList); $this->setUserParam($params, "opt_id", $this->optId); $this->setUserParam($params, "page", $this->page); $this->setUserParam($params, "page_size", $this->pageSize); $this->setUserParam($params, "pid", $this->pid); $this->setUserParam($params, "range_list", $this->rangeList); $this->setUserParam($params, "sort_type", $this->sortType); $this->setUserParam($params, "with_coupon", $this->withCoupon); $this->setUserParam($params, "block_cats", $this->blockCats); $this->setUserParam($params, "block_cat_packages", $this->blockCatPackages); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.ddk.goods.search"; } public function setActivityTags($activityTags) { $this->activityTags = $activityTags; } public function setCatId($catId) { $this->catId = $catId; } public function setCustomParameters($customParameters) { $this->customParameters = $customParameters; } public function setGoodsIdList($goodsIdList) { $this->goodsIdList = $goodsIdList; } public function setIsBrandGoods($isBrandGoods) { $this->isBrandGoods = $isBrandGoods; } public function setKeyword($keyword) { $this->keyword = $keyword; } public function setListId($listId) { $this->listId = $listId; } public function setMerchantType($merchantType) { $this->merchantType = $merchantType; } public function setMerchantTypeList($merchantTypeList) { $this->merchantTypeList = $merchantTypeList; } public function setOptId($optId) { $this->optId = $optId; } public function setPage($page) { $this->page = $page; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; } public function setPid($pid) { $this->pid = $pid; } public function setRangeList($rangeList) { $this->rangeList = $rangeList; } public function setSortType($sortType) { $this->sortType = $sortType; } public function setWithCoupon($withCoupon) { $this->withCoupon = $withCoupon; } public function setBlockCats($blockCats) { $this->blockCats = $blockCats; } public function setBlockCatPackages($blockCatPackages) { $this->blockCatPackages = $blockCatPackages; } } class PddDdkGoodsSearchRequest_RangeListItem extends PopBaseJsonEntity { public function __construct() { } /** * @JsonProperty(Long, "range_from") */ private $rangeFrom; /** * @JsonProperty(Integer, "range_id") */ private $rangeId; /** * @JsonProperty(Long, "range_to") */ private $rangeTo; public function setRangeFrom($rangeFrom) { $this->rangeFrom = $rangeFrom; } public function setRangeId($rangeId) { $this->rangeId = $rangeId; } public function setRangeTo($rangeTo) { $this->rangeTo = $rangeTo; } }