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.
yanzong/extend/suning-sdk-php/request/selfmarket/HwgdeliveryAddRequest.php

114 lines
2.2 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-4-22
*/
class HwgdeliveryAddRequest extends SuningRequest{
/**
*
*/
private $expressCompCode;
/**
*
*/
private $expressNo;
/**
*
*/
private $orderCode;
/**
*
*/
private $orderItemIds;
/**
*
*/
private $packageOrderId;
/**
*
*/
private $supplierCode;
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 getOrderCode() {
return $this->orderCode;
}
public function setOrderCode($orderCode) {
$this->orderCode = $orderCode;
$this->apiParams["orderCode"] = $orderCode;
}
public function getOrderItemIds() {
return $this->orderItemIds;
}
public function setOrderItemIds($orderItemIds) {
$this->orderItemIds = $orderItemIds;
$this->apiParams["orderItemIds"] = $orderItemIds;
}
public function getPackageOrderId() {
return $this->packageOrderId;
}
public function setPackageOrderId($packageOrderId) {
$this->packageOrderId = $packageOrderId;
$this->apiParams["packageOrderId"] = $packageOrderId;
}
public function getSupplierCode() {
return $this->supplierCode;
}
public function setSupplierCode($supplierCode) {
$this->supplierCode = $supplierCode;
$this->apiParams["supplierCode"] = $supplierCode;
}
public function getApiMethodName(){
return 'suning.selfmarket.hwgdelivery.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->expressCompCode, 'expressCompCode');
RequestCheckUtil::checkNotNull($this->expressNo, 'expressNo');
}
public function getBizName(){
return "addHwgdelivery";
}
}
?>