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/OrdernumerQueryRequest.php

67 lines
1.1 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2017-12-19
*/
class OrdernumerQueryRequest extends SuningRequest{
/**
*
*/
private $orderIds;
public function getOrderIds() {
return $this->orderIds;
}
public function setOrderIds($orderIds) {
$this->orderIds = $orderIds;
$arr = array();
foreach ($orderIds as $temp){
array_push($arr,$temp->getApiParams());
}
$this->apiParams["orderIds"] = $arr;
}
public function getApiMethodName(){
return 'suning.govbus.ordernumber.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
}
public function getBizName(){
return "queryOrdernumer";
}
}
class OrderIds {
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;
}
}
?>