You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/extend/suning-sdk-php/request/online/SearchinstallQueryRequest.php

176 lines
3.3 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2019-7-12
*/
class SearchinstallQueryRequest extends SuningRequest{
/**
*
*/
private $address;
/**
*
*/
private $chanId;
/**
*
*/
private $city;
/**
*
*/
private $cmmdtyCode;
/**
*
*/
private $county;
/**
*
*/
private $orderItemId;
/**
*
*/
private $province;
/**
*
*/
private $saleNum;
/**
*
*/
private $selectedArrivalTime;
/**
*
*/
private $village;
public function getAddress() {
return $this->address;
}
public function setAddress($address) {
$this->address = $address;
$this->apiParams["address"] = $address;
}
public function getChanId() {
return $this->chanId;
}
public function setChanId($chanId) {
$this->chanId = $chanId;
$this->apiParams["chanId"] = $chanId;
}
public function getCity() {
return $this->city;
}
public function setCity($city) {
$this->city = $city;
$this->apiParams["city"] = $city;
}
public function getCmmdtyCode() {
return $this->cmmdtyCode;
}
public function setCmmdtyCode($cmmdtyCode) {
$this->cmmdtyCode = $cmmdtyCode;
$this->apiParams["cmmdtyCode"] = $cmmdtyCode;
}
public function getCounty() {
return $this->county;
}
public function setCounty($county) {
$this->county = $county;
$this->apiParams["county"] = $county;
}
public function getOrderItemId() {
return $this->orderItemId;
}
public function setOrderItemId($orderItemId) {
$this->orderItemId = $orderItemId;
$this->apiParams["orderItemId"] = $orderItemId;
}
public function getProvince() {
return $this->province;
}
public function setProvince($province) {
$this->province = $province;
$this->apiParams["province"] = $province;
}
public function getSaleNum() {
return $this->saleNum;
}
public function setSaleNum($saleNum) {
$this->saleNum = $saleNum;
$this->apiParams["saleNum"] = $saleNum;
}
public function getSelectedArrivalTime() {
return $this->selectedArrivalTime;
}
public function setSelectedArrivalTime($selectedArrivalTime) {
$this->selectedArrivalTime = $selectedArrivalTime;
$this->apiParams["selectedArrivalTime"] = $selectedArrivalTime;
}
public function getVillage() {
return $this->village;
}
public function setVillage($village) {
$this->village = $village;
$this->apiParams["village"] = $village;
}
public function getApiMethodName(){
return 'suning.online.searchinstall.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->address, 'address');
RequestCheckUtil::checkNotNull($this->chanId, 'chanId');
RequestCheckUtil::checkNotNull($this->city, 'city');
RequestCheckUtil::checkNotNull($this->cmmdtyCode, 'cmmdtyCode');
RequestCheckUtil::checkNotNull($this->county, 'county');
RequestCheckUtil::checkNotNull($this->province, 'province');
RequestCheckUtil::checkNotNull($this->saleNum, 'saleNum');
RequestCheckUtil::checkNotNull($this->selectedArrivalTime, 'selectedArrivalTime');
}
public function getBizName(){
return "querySearchinstall";
}
}
?>