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/selfmarket/XiaomisaleQueryRequest.php

91 lines
1.7 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-1-26
*/
class XiaomisaleQueryRequest extends SelectSuningRequest{
/**
*
*/
private $gdsCd;
/**
*
*/
private $statisEndDate;
/**
*
*/
private $statisStartDate;
/**
*
*/
private $vendorCd;
public function getGdsCd() {
return $this->gdsCd;
}
public function setGdsCd($gdsCd) {
$this->gdsCd = $gdsCd;
$this->apiParams["gdsCd"] = $gdsCd;
}
public function getStatisEndDate() {
return $this->statisEndDate;
}
public function setStatisEndDate($statisEndDate) {
$this->statisEndDate = $statisEndDate;
$this->apiParams["statisEndDate"] = $statisEndDate;
}
public function getStatisStartDate() {
return $this->statisStartDate;
}
public function setStatisStartDate($statisStartDate) {
$this->statisStartDate = $statisStartDate;
$this->apiParams["statisStartDate"] = $statisStartDate;
}
public function getVendorCd() {
return $this->vendorCd;
}
public function setVendorCd($vendorCd) {
$this->vendorCd = $vendorCd;
$this->apiParams["vendorCd"] = $vendorCd;
}
public function getApiMethodName(){
return 'suning.selfmarket.xiaomisale.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->statisEndDate, 'statisEndDate');
RequestCheckUtil::checkNotNull($this->statisStartDate, 'statisStartDate');
RequestCheckUtil::checkNotNull($this->vendorCd, 'vendorCd');
}
public function getBizName(){
return "queryXiaomisale";
}
}
?>