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/store/SspriceGetRequest.php

101 lines
1.9 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2019-3-21
*/
class SspriceGetRequest extends SuningRequest{
/**
*
*/
private $activityCode;
/**
*
*/
private $appStoreCode;
/**
*
*/
private $currentPage;
/**
*
*/
private $pageNum;
/**
*
*/
private $storeCode;
public function getActivityCode() {
return $this->activityCode;
}
public function setActivityCode($activityCode) {
$this->activityCode = $activityCode;
$this->apiParams["activityCode"] = $activityCode;
}
public function getAppStoreCode() {
return $this->appStoreCode;
}
public function setAppStoreCode($appStoreCode) {
$this->appStoreCode = $appStoreCode;
$this->apiParams["appStoreCode"] = $appStoreCode;
}
public function getCurrentPage() {
return $this->currentPage;
}
public function setCurrentPage($currentPage) {
$this->currentPage = $currentPage;
$this->apiParams["currentPage"] = $currentPage;
}
public function getPageNum() {
return $this->pageNum;
}
public function setPageNum($pageNum) {
$this->pageNum = $pageNum;
$this->apiParams["pageNum"] = $pageNum;
}
public function getStoreCode() {
return $this->storeCode;
}
public function setStoreCode($storeCode) {
$this->storeCode = $storeCode;
$this->apiParams["storeCode"] = $storeCode;
}
public function getApiMethodName(){
return 'suning.store.ssprice.get';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->activityCode, 'activityCode');
RequestCheckUtil::checkNotNull($this->currentPage, 'currentPage');
RequestCheckUtil::checkNotNull($this->pageNum, 'pageNum');
}
public function getBizName(){
return "getSsprice";
}
}
?>