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/SettlementdetailQueryReques...

103 lines
2.1 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-8-2
*/
class SettlementdetailQueryRequest extends SuningRequest{
/**
*
*/
private $billNum;
/**
*
*/
private $detailType;
/**
*
*/
private $queryPageNo;
/**
*
*/
private $queryPageSize;
/**
*
*/
private $supplierCode;
public function getBillNum() {
return $this->billNum;
}
public function setBillNum($billNum) {
$this->billNum = $billNum;
$this->apiParams["billNum"] = $billNum;
}
public function getDetailType() {
return $this->detailType;
}
public function setDetailType($detailType) {
$this->detailType = $detailType;
$this->apiParams["detailType"] = $detailType;
}
public function getQueryPageNo() {
return $this->queryPageNo;
}
public function setQueryPageNo($queryPageNo) {
$this->queryPageNo = $queryPageNo;
$this->apiParams["queryPageNo"] = $queryPageNo;
}
public function getQueryPageSize() {
return $this->queryPageSize;
}
public function setQueryPageSize($queryPageSize) {
$this->queryPageSize = $queryPageSize;
$this->apiParams["queryPageSize"] = $queryPageSize;
}
public function getSupplierCode() {
return $this->supplierCode;
}
public function setSupplierCode($supplierCode) {
$this->supplierCode = $supplierCode;
$this->apiParams["supplierCode"] = $supplierCode;
}
public function getApiMethodName(){
return 'suning.selfmarket.settlementdetail.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->billNum, 'billNum');
RequestCheckUtil::checkNotNull($this->detailType, 'detailType');
RequestCheckUtil::checkNotNull($this->queryPageNo, 'queryPageNo');
RequestCheckUtil::checkNotNull($this->queryPageSize, 'queryPageSize');
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
}
public function getBizName(){
return "querySettlementdetail";
}
}
?>