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/govbus/OrderitemQueryRequest.php

132 lines
2.5 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2021-12-3
*/
class OrderitemQueryRequest extends SuningRequest{
/**
*
*/
private $companyCusNo;
/**
*
*/
private $dateType;
/**
*
*/
private $endDate;
/**
*
*/
private $orderItemStatus;
/**
*
*/
private $pageLen;
/**
*
*/
private $pageNum;
/**
*
*/
private $startDate;
public function getCompanyCusNo() {
return $this->companyCusNo;
}
public function setCompanyCusNo($companyCusNo) {
$this->companyCusNo = $companyCusNo;
$this->apiParams["companyCusNo"] = $companyCusNo;
}
public function getDateType() {
return $this->dateType;
}
public function setDateType($dateType) {
$this->dateType = $dateType;
$this->apiParams["dateType"] = $dateType;
}
public function getEndDate() {
return $this->endDate;
}
public function setEndDate($endDate) {
$this->endDate = $endDate;
$this->apiParams["endDate"] = $endDate;
}
public function getOrderItemStatus() {
return $this->orderItemStatus;
}
public function setOrderItemStatus($orderItemStatus) {
$this->orderItemStatus = $orderItemStatus;
$this->apiParams["orderItemStatus"] = $orderItemStatus;
}
public function getPageLen() {
return $this->pageLen;
}
public function setPageLen($pageLen) {
$this->pageLen = $pageLen;
$this->apiParams["pageLen"] = $pageLen;
}
public function getPageNum() {
return $this->pageNum;
}
public function setPageNum($pageNum) {
$this->pageNum = $pageNum;
$this->apiParams["pageNum"] = $pageNum;
}
public function getStartDate() {
return $this->startDate;
}
public function setStartDate($startDate) {
$this->startDate = $startDate;
$this->apiParams["startDate"] = $startDate;
}
public function getApiMethodName(){
return 'suning.govbus.orderitem.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->dateType, 'dateType');
RequestCheckUtil::checkNotNull($this->endDate, 'endDate');
RequestCheckUtil::checkNotNull($this->orderItemStatus, 'orderItemStatus');
RequestCheckUtil::checkNotNull($this->pageLen, 'pageLen');
RequestCheckUtil::checkNotNull($this->pageNum, 'pageNum');
RequestCheckUtil::checkNotNull($this->startDate, 'startDate');
}
public function getBizName(){
return "queryOrderitem";
}
}
?>