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.
156 lines
2.8 KiB
156 lines
2.8 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2023-7-21
|
|
*/
|
|
class OrderDeliverAddRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $deliverGoodsNum;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $expressCompCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $expressNo;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $orderItemId;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $sender;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $senderTel;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $serialNum;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $sign;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierCode;
|
|
|
|
public function getDeliverGoodsNum() {
|
|
return $this->deliverGoodsNum;
|
|
}
|
|
|
|
public function setDeliverGoodsNum($deliverGoodsNum) {
|
|
$this->deliverGoodsNum = $deliverGoodsNum;
|
|
$this->apiParams["deliverGoodsNum"] = $deliverGoodsNum;
|
|
}
|
|
|
|
public function getExpressCompCode() {
|
|
return $this->expressCompCode;
|
|
}
|
|
|
|
public function setExpressCompCode($expressCompCode) {
|
|
$this->expressCompCode = $expressCompCode;
|
|
$this->apiParams["expressCompCode"] = $expressCompCode;
|
|
}
|
|
|
|
public function getExpressNo() {
|
|
return $this->expressNo;
|
|
}
|
|
|
|
public function setExpressNo($expressNo) {
|
|
$this->expressNo = $expressNo;
|
|
$this->apiParams["expressNo"] = $expressNo;
|
|
}
|
|
|
|
public function getOrderItemId() {
|
|
return $this->orderItemId;
|
|
}
|
|
|
|
public function setOrderItemId($orderItemId) {
|
|
$this->orderItemId = $orderItemId;
|
|
$this->apiParams["orderItemId"] = $orderItemId;
|
|
}
|
|
|
|
public function getSender() {
|
|
return $this->sender;
|
|
}
|
|
|
|
public function setSender($sender) {
|
|
$this->sender = $sender;
|
|
$this->apiParams["sender"] = $sender;
|
|
}
|
|
|
|
public function getSenderTel() {
|
|
return $this->senderTel;
|
|
}
|
|
|
|
public function setSenderTel($senderTel) {
|
|
$this->senderTel = $senderTel;
|
|
$this->apiParams["senderTel"] = $senderTel;
|
|
}
|
|
|
|
public function getSerialNum() {
|
|
return $this->serialNum;
|
|
}
|
|
|
|
public function setSerialNum($serialNum) {
|
|
$this->serialNum = $serialNum;
|
|
$this->apiParams["serialNum"] = $serialNum;
|
|
}
|
|
|
|
public function getSign() {
|
|
return $this->sign;
|
|
}
|
|
|
|
public function setSign($sign) {
|
|
$this->sign = $sign;
|
|
$this->apiParams["sign"] = $sign;
|
|
}
|
|
|
|
public function getSupplierCode() {
|
|
return $this->supplierCode;
|
|
}
|
|
|
|
public function setSupplierCode($supplierCode) {
|
|
$this->supplierCode = $supplierCode;
|
|
$this->apiParams["supplierCode"] = $supplierCode;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.selfmarket.orderdeliver.add';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->orderItemId, 'orderItemId');
|
|
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "addOrderDeliver";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|