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

118 lines
2.2 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-2-8
*/
class AgentrechargeAddRequest extends SuningRequest{
/**
*
*/
private $channelId;
/**
*
*/
private $serialNumber;
/**
*
*/
private $feeAmount;
/**
*
*/
private $reqSerial;
/**
*
*/
private $reqTime;
/**
*
*/
private $reqSign;
public function getChannelId() {
return $this->channelId;
}
public function setChannelId($channelId) {
$this->channelId = $channelId;
$this->apiParams["channelId"] = $channelId;
}
public function getSerialNumber() {
return $this->serialNumber;
}
public function setSerialNumber($serialNumber) {
$this->serialNumber = $serialNumber;
$this->apiParams["serialNumber"] = $serialNumber;
}
public function getFeeAmount() {
return $this->feeAmount;
}
public function setFeeAmount($feeAmount) {
$this->feeAmount = $feeAmount;
$this->apiParams["feeAmount"] = $feeAmount;
}
public function getReqSerial() {
return $this->reqSerial;
}
public function setReqSerial($reqSerial) {
$this->reqSerial = $reqSerial;
$this->apiParams["reqSerial"] = $reqSerial;
}
public function getReqTime() {
return $this->reqTime;
}
public function setReqTime($reqTime) {
$this->reqTime = $reqTime;
$this->apiParams["reqTime"] = $reqTime;
}
public function getReqSign() {
return $this->reqSign;
}
public function setReqSign($reqSign) {
$this->reqSign = $reqSign;
$this->apiParams["reqSign"] = $reqSign;
}
public function getApiMethodName(){
return 'suning.operasale.agentrecharge.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->channelId, 'channelId');
RequestCheckUtil::checkNotNull($this->serialNumber, 'serialNumber');
RequestCheckUtil::checkNotNull($this->feeAmount, 'feeAmount');
RequestCheckUtil::checkNotNull($this->reqSerial, 'reqSerial');
RequestCheckUtil::checkNotNull($this->reqTime, 'reqTime');
RequestCheckUtil::checkNotNull($this->reqSign, 'reqSign');
}
public function getBizName(){
return "addAgentrecharge";
}
}
?>