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/custom/PpactivityproductQueryReque...

99 lines
1.8 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2021-7-15
*/
class PpactivityproductQueryRequest extends SuningRequest{
/**
*
*/
private $activityCode;
/**
*
*/
private $pageNum;
/**
*
*/
private $pageSizeNum;
/**
*
*/
private $productCode;
/**
*
*/
private $tmProductCode;
public function getActivityCode() {
return $this->activityCode;
}
public function setActivityCode($activityCode) {
$this->activityCode = $activityCode;
$this->apiParams["activityCode"] = $activityCode;
}
public function getPageNum() {
return $this->pageNum;
}
public function setPageNum($pageNum) {
$this->pageNum = $pageNum;
$this->apiParams["pageNum"] = $pageNum;
}
public function getPageSizeNum() {
return $this->pageSizeNum;
}
public function setPageSizeNum($pageSizeNum) {
$this->pageSizeNum = $pageSizeNum;
$this->apiParams["pageSizeNum"] = $pageSizeNum;
}
public function getProductCode() {
return $this->productCode;
}
public function setProductCode($productCode) {
$this->productCode = $productCode;
$this->apiParams["productCode"] = $productCode;
}
public function getTmProductCode() {
return $this->tmProductCode;
}
public function setTmProductCode($tmProductCode) {
$this->tmProductCode = $tmProductCode;
$this->apiParams["tmProductCode"] = $tmProductCode;
}
public function getApiMethodName(){
return 'suning.custom.ppactivityproduct.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->activityCode, 'activityCode');
}
public function getBizName(){
return "queryPpactivityproduct";
}
}
?>