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/GetbillQueryRequest.php

86 lines
1.4 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2023-11-6
*/
class GetbillQueryRequest extends SuningRequest{
/**
*
*/
private $info;
/**
*
*/
private $pageNum;
/**
*
*/
private $pgSize;
/**
*
*/
private $type;
public function getInfo() {
return $this->info;
}
public function setInfo($info) {
$this->info = $info;
$this->apiParams["info"] = $info;
}
public function getPageNum() {
return $this->pageNum;
}
public function setPageNum($pageNum) {
$this->pageNum = $pageNum;
$this->apiParams["pageNum"] = $pageNum;
}
public function getPgSize() {
return $this->pgSize;
}
public function setPgSize($pgSize) {
$this->pgSize = $pgSize;
$this->apiParams["pgSize"] = $pgSize;
}
public function getType() {
return $this->type;
}
public function setType($type) {
$this->type = $type;
$this->apiParams["type"] = $type;
}
public function getApiMethodName(){
return 'suning.govbus.getbill.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->info, 'info');
RequestCheckUtil::checkNotNull($this->type, 'type');
}
public function getBizName(){
return "queryGetbill";
}
}
?>