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

65 lines
1.2 KiB
PHP
Raw 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.fulfillment.order.assemble request
*
* @author auto create
* @since 1.0, 2022.06.15
*/
class FulfillmentOrderAssembleRequest
{
/**
* 批量回传集合,一次接口最多40
**/
private $assembleOrders;
/**
* 操作类型支持参数为MERGE、CANCEL_MERGE。当进行CANCEL_MERGE操作时只需要传入groupId即可order_list可以为空
**/
private $type;
private $apiParas = array();
public function setAssembleOrders($assembleOrders)
{
$this->assembleOrders = $assembleOrders;
$this->apiParas["assemble_orders"] = $assembleOrders;
}
public function getAssembleOrders()
{
return $this->assembleOrders;
}
public function setType($type)
{
$this->type = $type;
$this->apiParas["type"] = $type;
}
public function getType()
{
return $this->type;
}
public function getApiMethodName()
{
return "taobao.fulfillment.order.assemble";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->type,"type");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}