, "service_area_list") */ private $serviceAreaList; /** * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItem>, "cat_list") */ private $catList; protected function setUserParams(&$params) { $this->setUserParam($params, "template_type", $this->templateType); $this->setUserParam($params, "template_name", $this->templateName); $this->setUserParam($params, "price_unit", $this->priceUnit); $this->setUserParam($params, "service_area_list", $this->serviceAreaList); $this->setUserParam($params, "cat_list", $this->catList); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.goods.logistics.ser.template.create"; } public function setTemplateType($templateType) { $this->templateType = $templateType; } public function setTemplateName($templateName) { $this->templateName = $templateName; } public function setPriceUnit($priceUnit) { $this->priceUnit = $priceUnit; } public function setServiceAreaList($serviceAreaList) { $this->serviceAreaList = $serviceAreaList; } public function setCatList($catList) { $this->catList = $catList; } } class PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem extends PopBaseJsonEntity { public function __construct() { } /** * @JsonProperty(String, "value") */ private $value; /** * @JsonProperty(String, "district_id") */ private $districtId; /** * @JsonProperty(String, "city_id") */ private $cityId; /** * @JsonProperty(String, "province_id") */ private $provinceId; public function setValue($value) { $this->value = $value; } public function setDistrictId($districtId) { $this->districtId = $districtId; } public function setCityId($cityId) { $this->cityId = $cityId; } public function setProvinceId($provinceId) { $this->provinceId = $provinceId; } } class PddGoodsLogisticsSerTemplateCreateRequest_CatListItem extends PopBaseJsonEntity { public function __construct() { } /** * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem>, "list") */ private $list; /** * @JsonProperty(Long, "cat_id4") */ private $catId4; /** * @JsonProperty(Long, "cat_id3") */ private $catId3; public function setList($list) { $this->list = $list; } public function setCatId4($catId4) { $this->catId4 = $catId4; } public function setCatId3($catId3) { $this->catId3 = $catId3; } } class PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem extends PopBaseJsonEntity { public function __construct() { } /** * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem>, "content") */ private $content; /** * @JsonProperty(Long, "value") */ private $value; /** * @JsonProperty(Integer, "limit_type") */ private $limitType; public function setContent($content) { $this->content = $content; } public function setValue($value) { $this->value = $value; } public function setLimitType($limitType) { $this->limitType = $limitType; } } class PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem extends PopBaseJsonEntity { public function __construct() { } /** * @JsonProperty(Long, "price") */ private $price; /** * @JsonProperty(Long, "max_pro") */ private $maxPro; /** * @JsonProperty(Long, "min_pro") */ private $minPro; public function setPrice($price) { $this->price = $price; } public function setMaxPro($maxPro) { $this->maxPro = $maxPro; } public function setMinPro($minPro) { $this->minPro = $minPro; } }