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/govbus/OrdercancelDeleteRequest.php

67 lines
1.1 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2019-3-5
*/
class OrdercancelDeleteRequest extends SuningRequest{
/**
*
*/
private $orderList;
public function getOrderList() {
return $this->orderList;
}
public function setOrderList($orderList) {
$this->orderList = $orderList;
$arr = array();
foreach ($orderList as $temp){
array_push($arr,$temp->getApiParams());
}
$this->apiParams["orderList"] = $arr;
}
public function getApiMethodName(){
return 'suning.govbus.ordercancel.delete';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
}
public function getBizName(){
return "deleteOrdercancel";
}
}
class OrderList {
private $apiParams = array();
private $orderId;
public function getOrderId() {
return $this->orderId;
}
public function setOrderId($orderId) {
$this->orderId = $orderId;
$this->apiParams["orderId"] = $orderId;
}
public function getApiParams(){
return $this->apiParams;
}
}
?>