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/operasale/CreateuserfeeGetRequest.php

58 lines
1.1 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-8-28
*/
class CreateuserfeeGetRequest extends SuningRequest{
/**
*
*/
private $channelCode;
/**
*
*/
private $productId;
public function getChannelCode() {
return $this->channelCode;
}
public function setChannelCode($channelCode) {
$this->channelCode = $channelCode;
$this->apiParams["channelCode"] = $channelCode;
}
public function getProductId() {
return $this->productId;
}
public function setProductId($productId) {
$this->productId = $productId;
$this->apiParams["productId"] = $productId;
}
public function getApiMethodName(){
return 'suning.operasale.createuserfee.get';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->channelCode, 'channelCode');
RequestCheckUtil::checkNotNull($this->productId, 'productId');
}
public function getBizName(){
return "getCreateuserfee";
}
}
?>