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.
268 lines
5.7 KiB
268 lines
5.7 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2022-10-10
|
|
*/
|
|
class SuporderstatusAddRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supOrderStatus;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierCode;
|
|
|
|
public function getSupOrderStatus() {
|
|
return $this->supOrderStatus;
|
|
}
|
|
|
|
public function setSupOrderStatus($supOrderStatus) {
|
|
$this->supOrderStatus = $supOrderStatus;
|
|
$arr = array();
|
|
foreach ($supOrderStatus as $temp){
|
|
array_push($arr,$temp->getApiParams());
|
|
}
|
|
$this->apiParams["supOrderStatus"] = $arr;
|
|
}
|
|
|
|
public function getSupplierCode() {
|
|
return $this->supplierCode;
|
|
}
|
|
|
|
public function setSupplierCode($supplierCode) {
|
|
$this->supplierCode = $supplierCode;
|
|
$this->apiParams["supplierCode"] = $supplierCode;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.selfmarket.suporderstatus.add';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "addSuporderstatus";
|
|
}
|
|
|
|
}
|
|
|
|
class SupOrderStatus {
|
|
|
|
private $apiParams = array();
|
|
|
|
private $actualDeliveryTime;
|
|
|
|
private $deliverQuotaQty;
|
|
|
|
private $expressCompCode;
|
|
|
|
private $expressNo;
|
|
|
|
private $invSatisfieMode;
|
|
|
|
private $latestArrTime;
|
|
|
|
private $notPassReasons;
|
|
|
|
private $number;
|
|
|
|
private $omsItemNo;
|
|
|
|
private $omsOrderNo;
|
|
|
|
private $planArrTime;
|
|
|
|
private $planFinishTime;
|
|
|
|
private $purchaseOrderNo;
|
|
|
|
private $purOrderItemNo;
|
|
|
|
private $signQuantity;
|
|
|
|
private $state;
|
|
|
|
private $stateName;
|
|
|
|
private $statusOccurTime;
|
|
|
|
public function getActualDeliveryTime() {
|
|
return $this->actualDeliveryTime;
|
|
}
|
|
|
|
public function setActualDeliveryTime($actualDeliveryTime) {
|
|
$this->actualDeliveryTime = $actualDeliveryTime;
|
|
$this->apiParams["actualDeliveryTime"] = $actualDeliveryTime;
|
|
}
|
|
|
|
public function getDeliverQuotaQty() {
|
|
return $this->deliverQuotaQty;
|
|
}
|
|
|
|
public function setDeliverQuotaQty($deliverQuotaQty) {
|
|
$this->deliverQuotaQty = $deliverQuotaQty;
|
|
$this->apiParams["deliverQuotaQty"] = $deliverQuotaQty;
|
|
}
|
|
|
|
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 getInvSatisfieMode() {
|
|
return $this->invSatisfieMode;
|
|
}
|
|
|
|
public function setInvSatisfieMode($invSatisfieMode) {
|
|
$this->invSatisfieMode = $invSatisfieMode;
|
|
$this->apiParams["invSatisfieMode"] = $invSatisfieMode;
|
|
}
|
|
|
|
public function getLatestArrTime() {
|
|
return $this->latestArrTime;
|
|
}
|
|
|
|
public function setLatestArrTime($latestArrTime) {
|
|
$this->latestArrTime = $latestArrTime;
|
|
$this->apiParams["latestArrTime"] = $latestArrTime;
|
|
}
|
|
|
|
public function getNotPassReasons() {
|
|
return $this->notPassReasons;
|
|
}
|
|
|
|
public function setNotPassReasons($notPassReasons) {
|
|
$this->notPassReasons = $notPassReasons;
|
|
$this->apiParams["notPassReasons"] = $notPassReasons;
|
|
}
|
|
|
|
public function getNumber() {
|
|
return $this->number;
|
|
}
|
|
|
|
public function setNumber($number) {
|
|
$this->number = $number;
|
|
$this->apiParams["number"] = $number;
|
|
}
|
|
|
|
public function getOmsItemNo() {
|
|
return $this->omsItemNo;
|
|
}
|
|
|
|
public function setOmsItemNo($omsItemNo) {
|
|
$this->omsItemNo = $omsItemNo;
|
|
$this->apiParams["omsItemNo"] = $omsItemNo;
|
|
}
|
|
|
|
public function getOmsOrderNo() {
|
|
return $this->omsOrderNo;
|
|
}
|
|
|
|
public function setOmsOrderNo($omsOrderNo) {
|
|
$this->omsOrderNo = $omsOrderNo;
|
|
$this->apiParams["omsOrderNo"] = $omsOrderNo;
|
|
}
|
|
|
|
public function getPlanArrTime() {
|
|
return $this->planArrTime;
|
|
}
|
|
|
|
public function setPlanArrTime($planArrTime) {
|
|
$this->planArrTime = $planArrTime;
|
|
$this->apiParams["planArrTime"] = $planArrTime;
|
|
}
|
|
|
|
public function getPlanFinishTime() {
|
|
return $this->planFinishTime;
|
|
}
|
|
|
|
public function setPlanFinishTime($planFinishTime) {
|
|
$this->planFinishTime = $planFinishTime;
|
|
$this->apiParams["planFinishTime"] = $planFinishTime;
|
|
}
|
|
|
|
public function getPurchaseOrderNo() {
|
|
return $this->purchaseOrderNo;
|
|
}
|
|
|
|
public function setPurchaseOrderNo($purchaseOrderNo) {
|
|
$this->purchaseOrderNo = $purchaseOrderNo;
|
|
$this->apiParams["purchaseOrderNo"] = $purchaseOrderNo;
|
|
}
|
|
|
|
public function getPurOrderItemNo() {
|
|
return $this->purOrderItemNo;
|
|
}
|
|
|
|
public function setPurOrderItemNo($purOrderItemNo) {
|
|
$this->purOrderItemNo = $purOrderItemNo;
|
|
$this->apiParams["purOrderItemNo"] = $purOrderItemNo;
|
|
}
|
|
|
|
public function getSignQuantity() {
|
|
return $this->signQuantity;
|
|
}
|
|
|
|
public function setSignQuantity($signQuantity) {
|
|
$this->signQuantity = $signQuantity;
|
|
$this->apiParams["signQuantity"] = $signQuantity;
|
|
}
|
|
|
|
public function getState() {
|
|
return $this->state;
|
|
}
|
|
|
|
public function setState($state) {
|
|
$this->state = $state;
|
|
$this->apiParams["state"] = $state;
|
|
}
|
|
|
|
public function getStateName() {
|
|
return $this->stateName;
|
|
}
|
|
|
|
public function setStateName($stateName) {
|
|
$this->stateName = $stateName;
|
|
$this->apiParams["stateName"] = $stateName;
|
|
}
|
|
|
|
public function getStatusOccurTime() {
|
|
return $this->statusOccurTime;
|
|
}
|
|
|
|
public function setStatusOccurTime($statusOccurTime) {
|
|
$this->statusOccurTime = $statusOccurTime;
|
|
$this->apiParams["statusOccurTime"] = $statusOccurTime;
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
}
|
|
|
|
?>
|