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/online/PagefourcouponQueryRequest.php

148 lines
2.9 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2020-1-9
*/
class PagefourcouponQueryRequest extends SuningRequest{
/**
*
*/
private $businessSign;
/**
*
*/
private $chanId;
/**
*
*/
private $city;
/**
*
*/
private $cmmdtyCode;
/**
*
*/
private $marketingActivityType;
/**
*
*/
private $memberNo;
/**
*
*/
private $price;
/**
*
*/
private $saleNum;
public function getBusinessSign() {
return $this->businessSign;
}
public function setBusinessSign($businessSign) {
$this->businessSign = $businessSign;
$this->apiParams["businessSign"] = $businessSign;
}
public function getChanId() {
return $this->chanId;
}
public function setChanId($chanId) {
$this->chanId = $chanId;
$this->apiParams["chanId"] = $chanId;
}
public function getCity() {
return $this->city;
}
public function setCity($city) {
$this->city = $city;
$this->apiParams["city"] = $city;
}
public function getCmmdtyCode() {
return $this->cmmdtyCode;
}
public function setCmmdtyCode($cmmdtyCode) {
$this->cmmdtyCode = $cmmdtyCode;
$this->apiParams["cmmdtyCode"] = $cmmdtyCode;
}
public function getMarketingActivityType() {
return $this->marketingActivityType;
}
public function setMarketingActivityType($marketingActivityType) {
$this->marketingActivityType = $marketingActivityType;
$this->apiParams["marketingActivityType"] = $marketingActivityType;
}
public function getMemberNo() {
return $this->memberNo;
}
public function setMemberNo($memberNo) {
$this->memberNo = $memberNo;
$this->apiParams["memberNo"] = $memberNo;
}
public function getPrice() {
return $this->price;
}
public function setPrice($price) {
$this->price = $price;
$this->apiParams["price"] = $price;
}
public function getSaleNum() {
return $this->saleNum;
}
public function setSaleNum($saleNum) {
$this->saleNum = $saleNum;
$this->apiParams["saleNum"] = $saleNum;
}
public function getApiMethodName(){
return 'suning.online.pagefourcoupon.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->businessSign, 'businessSign');
RequestCheckUtil::checkNotNull($this->chanId, 'chanId');
RequestCheckUtil::checkNotNull($this->city, 'city');
RequestCheckUtil::checkNotNull($this->cmmdtyCode, 'cmmdtyCode');
RequestCheckUtil::checkNotNull($this->marketingActivityType, 'marketingActivityType');
RequestCheckUtil::checkNotNull($this->memberNo, 'memberNo');
RequestCheckUtil::checkNotNull($this->price, 'price');
RequestCheckUtil::checkNotNull($this->saleNum, 'saleNum');
}
public function getBizName(){
return "queryPagefourcoupon";
}
}
?>