REAPI/extend/sdk/taobao/top/request/VasOrderSearchRequest.php
2024-09-29 15:43:18 +08:00

193 lines
3.4 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* TOP API: taobao.vas.order.search request
*
* @author auto create
* @since 1.0, 2024.03.14
*/
class VasOrderSearchRequest
{
/**
* 应用收费代码从合作伙伴后台my.open.taobao.com-收费管理-收费项目列表 能够获得该应用的收费代码
**/
private $articleCode;
/**
* 订单号
**/
private $bizOrderId;
/**
* 订单类型1=新订 2=续订 3=升级 4=后台赠送 5=后台自动续订 6=订单审核后生成订购关系(暂时用不到) 空=全部
**/
private $bizType;
/**
* 订单创建时间(订购时间)结束值
**/
private $endCreated;
/**
* 收费项目代码从合作伙伴后台my.open.taobao.com-收费管理-收费项目列表 能够获得收费项目代码
**/
private $itemCode;
/**
* 淘宝会员名
**/
private $nick;
/**
* 子订单号
**/
private $orderId;
/**
* 页码
**/
private $pageNo;
/**
* 一页包含的记录数
**/
private $pageSize;
/**
* 订单创建时间订购时间起始值当start_created和end_created都不填写时默认返回最近90天的数据
**/
private $startCreated;
private $apiParas = array();
public function setArticleCode($articleCode)
{
$this->articleCode = $articleCode;
$this->apiParas["article_code"] = $articleCode;
}
public function getArticleCode()
{
return $this->articleCode;
}
public function setBizOrderId($bizOrderId)
{
$this->bizOrderId = $bizOrderId;
$this->apiParas["biz_order_id"] = $bizOrderId;
}
public function getBizOrderId()
{
return $this->bizOrderId;
}
public function setBizType($bizType)
{
$this->bizType = $bizType;
$this->apiParas["biz_type"] = $bizType;
}
public function getBizType()
{
return $this->bizType;
}
public function setEndCreated($endCreated)
{
$this->endCreated = $endCreated;
$this->apiParas["end_created"] = $endCreated;
}
public function getEndCreated()
{
return $this->endCreated;
}
public function setItemCode($itemCode)
{
$this->itemCode = $itemCode;
$this->apiParas["item_code"] = $itemCode;
}
public function getItemCode()
{
return $this->itemCode;
}
public function setNick($nick)
{
$this->nick = $nick;
$this->apiParas["nick"] = $nick;
}
public function getNick()
{
return $this->nick;
}
public function setOrderId($orderId)
{
$this->orderId = $orderId;
$this->apiParas["order_id"] = $orderId;
}
public function getOrderId()
{
return $this->orderId;
}
public function setPageNo($pageNo)
{
$this->pageNo = $pageNo;
$this->apiParas["page_no"] = $pageNo;
}
public function getPageNo()
{
return $this->pageNo;
}
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
$this->apiParas["page_size"] = $pageSize;
}
public function getPageSize()
{
return $this->pageSize;
}
public function setStartCreated($startCreated)
{
$this->startCreated = $startCreated;
$this->apiParas["start_created"] = $startCreated;
}
public function getStartCreated()
{
return $this->startCreated;
}
public function getApiMethodName()
{
return "taobao.vas.order.search";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->articleCode,"articleCode");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}