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/netalliance/CommoditydetailQueryRequest...

99 lines
1.7 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-11-14
*/
class CommoditydetailQueryRequest extends SuningRequest{
/**
*
*/
private $cityCode;
/**
*
*/
private $commodityStr;
/**
*
*/
private $couponMark;
/**
*
*/
private $picHeight;
/**
*
*/
private $picWidth;
public function getCityCode() {
return $this->cityCode;
}
public function setCityCode($cityCode) {
$this->cityCode = $cityCode;
$this->apiParams["cityCode"] = $cityCode;
}
public function getCommodityStr() {
return $this->commodityStr;
}
public function setCommodityStr($commodityStr) {
$this->commodityStr = $commodityStr;
$this->apiParams["commodityStr"] = $commodityStr;
}
public function getCouponMark() {
return $this->couponMark;
}
public function setCouponMark($couponMark) {
$this->couponMark = $couponMark;
$this->apiParams["couponMark"] = $couponMark;
}
public function getPicHeight() {
return $this->picHeight;
}
public function setPicHeight($picHeight) {
$this->picHeight = $picHeight;
$this->apiParams["picHeight"] = $picHeight;
}
public function getPicWidth() {
return $this->picWidth;
}
public function setPicWidth($picWidth) {
$this->picWidth = $picWidth;
$this->apiParams["picWidth"] = $picWidth;
}
public function getApiMethodName(){
return 'suning.netalliance.commoditydetail.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->commodityStr, 'commodityStr');
}
public function getBizName(){
return "queryCommoditydetail";
}
}
?>