<?php
namespace Com\Pdd\Pop\Sdk\Api\Request;
use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
class PddMallInfoStoreUpdatePostRequest extends PopBaseHttpRequest
{
public function __construct()
{
}
private $businessStatus;
/**
* @JsonProperty(List<Integer>, "business_week_list")
*/
private $businessWeekList;
private $city;
private $district;
private $endBusinessHour;
private $poiId;
private $poiLatitude;
private $poiLongitude;
private $province;
private $startBusinessHour;
private $storeAddress;
private $storeId;
private $storeName;
private $storeNumber;
private $storePhone;
private $tradeType;
protected function setUserParams(&$params)
{
$this->setUserParam($params, "business_status", $this->businessStatus);
$this->setUserParam($params, "business_week_list", $this->businessWeekList);
$this->setUserParam($params, "city", $this->city);
$this->setUserParam($params, "district", $this->district);
$this->setUserParam($params, "end_business_hour", $this->endBusinessHour);
$this->setUserParam($params, "poi_id", $this->poiId);
$this->setUserParam($params, "poi_latitude", $this->poiLatitude);
$this->setUserParam($params, "poi_longitude", $this->poiLongitude);
$this->setUserParam($params, "province", $this->province);
$this->setUserParam($params, "start_business_hour", $this->startBusinessHour);
$this->setUserParam($params, "store_address", $this->storeAddress);
$this->setUserParam($params, "store_id", $this->storeId);
$this->setUserParam($params, "store_name", $this->storeName);
$this->setUserParam($params, "store_number", $this->storeNumber);
$this->setUserParam($params, "store_phone", $this->storePhone);
$this->setUserParam($params, "trade_type", $this->tradeType);
}
public function getVersion()
{
return "V1";
}
public function getDataType()
{
return "JSON";
}
public function getType()
{
return "pdd.mall.info.store.update.post";
}
public function setBusinessStatus($businessStatus)
{
$this->businessStatus = $businessStatus;
}
public function setBusinessWeekList($businessWeekList)
{
$this->businessWeekList = $businessWeekList;
}
public function setCity($city)
{
$this->city = $city;
}
public function setDistrict($district)
{
$this->district = $district;
}
public function setEndBusinessHour($endBusinessHour)
{
$this->endBusinessHour = $endBusinessHour;
}
public function setPoiId($poiId)
{
$this->poiId = $poiId;
}
public function setPoiLatitude($poiLatitude)
{
$this->poiLatitude = $poiLatitude;
}
public function setPoiLongitude($poiLongitude)
{
$this->poiLongitude = $poiLongitude;
}
public function setProvince($province)
{
$this->province = $province;
}
public function setStartBusinessHour($startBusinessHour)
{
$this->startBusinessHour = $startBusinessHour;
}
public function setStoreAddress($storeAddress)
{
$this->storeAddress = $storeAddress;
}
public function setStoreId($storeId)
{
$this->storeId = $storeId;
}
public function setStoreName($storeName)
{
$this->storeName = $storeName;
}
public function setStoreNumber($storeNumber)
{
$this->storeNumber = $storeNumber;
}
public function setStorePhone($storePhone)
{
$this->storePhone = $storePhone;
}
public function setTradeType($tradeType)
{
$this->tradeType = $tradeType;
}
}