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

49 lines
914 B

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2021-3-4
*/
class CouponproductQueryRequest extends SelectSuningRequest{
/**
*
*/
private $positionId;
public function getPositionId() {
return $this->positionId;
}
public function setPositionId($positionId) {
$this->positionId = $positionId;
$this->apiParams["positionId"] = $positionId;
}
public function getApiMethodName(){
return 'suning.netalliance.couponproduct.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->pageNo, 'pageNo');
RequestCheckUtil::checkNotNull($this->pageSize, 'pageSize');
RequestCheckUtil::checkNotNull($this->positionId, 'positionId');
}
public function getBizName(){
return "queryCouponproduct";
}
}
?>