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

117 lines
2.1 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2023-2-23
*/
class OrderinvoiceinfoQueryRequest extends SelectSuningRequest{
/**
*
*/
private $batchCode;
/**
*
*/
private $invoiceCode;
/**
*
*/
private $invoiceDateEnd;
/**
*
*/
private $invoiceDateStart;
/**
*
*/
private $invoiceNum;
/**
*
*/
private $supplierCode;
public function getBatchCode() {
return $this->batchCode;
}
public function setBatchCode($batchCode) {
$this->batchCode = $batchCode;
$this->apiParams["batchCode"] = $batchCode;
}
public function getInvoiceCode() {
return $this->invoiceCode;
}
public function setInvoiceCode($invoiceCode) {
$this->invoiceCode = $invoiceCode;
$this->apiParams["invoiceCode"] = $invoiceCode;
}
public function getInvoiceDateEnd() {
return $this->invoiceDateEnd;
}
public function setInvoiceDateEnd($invoiceDateEnd) {
$this->invoiceDateEnd = $invoiceDateEnd;
$this->apiParams["invoiceDateEnd"] = $invoiceDateEnd;
}
public function getInvoiceDateStart() {
return $this->invoiceDateStart;
}
public function setInvoiceDateStart($invoiceDateStart) {
$this->invoiceDateStart = $invoiceDateStart;
$this->apiParams["invoiceDateStart"] = $invoiceDateStart;
}
public function getInvoiceNum() {
return $this->invoiceNum;
}
public function setInvoiceNum($invoiceNum) {
$this->invoiceNum = $invoiceNum;
$this->apiParams["invoiceNum"] = $invoiceNum;
}
public function getSupplierCode() {
return $this->supplierCode;
}
public function setSupplierCode($supplierCode) {
$this->supplierCode = $supplierCode;
$this->apiParams["supplierCode"] = $supplierCode;
}
public function getApiMethodName(){
return 'suning.selfmarket.orderinvoiceinfo.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
}
public function getBizName(){
return "queryOrderinvoiceinfo";
}
}
?>