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

113 lines
2.0 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.qimen.receiverinfo.query request
*
* @author auto create
* @since 1.0, 2021.08.09
*/
class ReceiverinfoQueryRequest
{
/**
* 出库单号, string (50) , 必填
**/
private $deliveryOrderCode;
/**
* 订单收件人 ID, string (50)
**/
private $oaid;
/**
* 货主ID
**/
private $ownerCode;
/**
* 使用场景。1001顺丰电子面单发货10024通一达电子面单发货1003EMS电子面单发货1004其他电子面单发货2001客户售后服务
**/
private $scene;
/**
* 仓库编码
**/
private $warehouseCode;
private $apiParas = array();
public function setDeliveryOrderCode($deliveryOrderCode)
{
$this->deliveryOrderCode = $deliveryOrderCode;
$this->apiParas["deliveryOrderCode"] = $deliveryOrderCode;
}
public function getDeliveryOrderCode()
{
return $this->deliveryOrderCode;
}
public function setOaid($oaid)
{
$this->oaid = $oaid;
$this->apiParas["oaid"] = $oaid;
}
public function getOaid()
{
return $this->oaid;
}
public function setOwnerCode($ownerCode)
{
$this->ownerCode = $ownerCode;
$this->apiParas["ownerCode"] = $ownerCode;
}
public function getOwnerCode()
{
return $this->ownerCode;
}
public function setScene($scene)
{
$this->scene = $scene;
$this->apiParas["scene"] = $scene;
}
public function getScene()
{
return $this->scene;
}
public function setWarehouseCode($warehouseCode)
{
$this->warehouseCode = $warehouseCode;
$this->apiParas["warehouseCode"] = $warehouseCode;
}
public function getWarehouseCode()
{
return $this->warehouseCode;
}
public function getApiMethodName()
{
return "taobao.qimen.receiverinfo.query";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->deliveryOrderCode,"deliveryOrderCode");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}