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/union/UnionInfomationGetRequest.php

43 lines
803 B

<?php
/**
* 苏宁开放平台接口 - 单笔查询联盟商品信息
*
* @author suning
* @date 2016-1-27
*/
class UnionInfomationGetRequest extends SuningRequest{
/**
* 商品ID。
*/
private $goodsCode;
public function getGoodsCode() {
return $this->goodsCode;
}
public function setGoodsCode($goodsCode) {
$this->goodsCode = $goodsCode;
$this->apiParams["goodsCode"] = $goodsCode;
}
public function getApiMethodName(){
return 'suning.netalliance.unioninfomation.get';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->goodsCode, 'goodsCode');
}
public function getBizName(){
return "getUnionInfomation";
}
}
?>