131 lines
2.1 KiB
PHP
131 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* TOP API: taobao.qimen.order.sn.report request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2018.07.25
|
|
*/
|
|
class OrderSnReportRequest
|
|
{
|
|
/**
|
|
* 当前页(从1开始)
|
|
**/
|
|
private $currentPage;
|
|
|
|
/**
|
|
* 扩展属性
|
|
**/
|
|
private $extendProps;
|
|
|
|
/**
|
|
* 商品列表
|
|
**/
|
|
private $items;
|
|
|
|
/**
|
|
* 单据列表
|
|
**/
|
|
private $order;
|
|
|
|
/**
|
|
* 每页记录的条数
|
|
**/
|
|
private $pageSize;
|
|
|
|
/**
|
|
* 总页数
|
|
**/
|
|
private $totalPage;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setCurrentPage($currentPage)
|
|
{
|
|
$this->currentPage = $currentPage;
|
|
$this->apiParas["currentPage"] = $currentPage;
|
|
}
|
|
|
|
public function getCurrentPage()
|
|
{
|
|
return $this->currentPage;
|
|
}
|
|
|
|
public function setExtendProps($extendProps)
|
|
{
|
|
$this->extendProps = $extendProps;
|
|
$this->apiParas["extendProps"] = $extendProps;
|
|
}
|
|
|
|
public function getExtendProps()
|
|
{
|
|
return $this->extendProps;
|
|
}
|
|
|
|
public function setItems($items)
|
|
{
|
|
$this->items = $items;
|
|
$this->apiParas["items"] = $items;
|
|
}
|
|
|
|
public function getItems()
|
|
{
|
|
return $this->items;
|
|
}
|
|
|
|
public function setOrder($order)
|
|
{
|
|
$this->order = $order;
|
|
$this->apiParas["order"] = $order;
|
|
}
|
|
|
|
public function getOrder()
|
|
{
|
|
return $this->order;
|
|
}
|
|
|
|
public function setPageSize($pageSize)
|
|
{
|
|
$this->pageSize = $pageSize;
|
|
$this->apiParas["pageSize"] = $pageSize;
|
|
}
|
|
|
|
public function getPageSize()
|
|
{
|
|
return $this->pageSize;
|
|
}
|
|
|
|
public function setTotalPage($totalPage)
|
|
{
|
|
$this->totalPage = $totalPage;
|
|
$this->apiParas["totalPage"] = $totalPage;
|
|
}
|
|
|
|
public function getTotalPage()
|
|
{
|
|
return $this->totalPage;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "taobao.qimen.order.sn.report";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
RequestCheckUtil::checkNotNull($this->currentPage,"currentPage");
|
|
RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
|
|
RequestCheckUtil::checkNotNull($this->totalPage,"totalPage");
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|