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.
82 lines
1.4 KiB
82 lines
1.4 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2022-8-18
|
|
*/
|
|
class OrderinvoicebatchCreateRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $noList;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierCode;
|
|
|
|
public function getNoList() {
|
|
return $this->noList;
|
|
}
|
|
|
|
public function setNoList($noList) {
|
|
$this->noList = $noList;
|
|
$arr = array();
|
|
foreach ($noList as $temp){
|
|
array_push($arr,$temp->getApiParams());
|
|
}
|
|
$this->apiParams["noList"] = $arr;
|
|
}
|
|
|
|
public function getSupplierCode() {
|
|
return $this->supplierCode;
|
|
}
|
|
|
|
public function setSupplierCode($supplierCode) {
|
|
$this->supplierCode = $supplierCode;
|
|
$this->apiParams["supplierCode"] = $supplierCode;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.selfmarket.orderinvoicebatch.create';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "createOrderinvoicebatch";
|
|
}
|
|
|
|
}
|
|
|
|
class NoList {
|
|
|
|
private $apiParams = array();
|
|
|
|
private $no;
|
|
|
|
public function getNo() {
|
|
return $this->no;
|
|
}
|
|
|
|
public function setNo($no) {
|
|
$this->no = $no;
|
|
$this->apiParams["no"] = $no;
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
}
|
|
|
|
?>
|