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.
133 lines
2.6 KiB
133 lines
2.6 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2022-1-10
|
|
*/
|
|
class AgentrechargedAddRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $channelId;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $feeAmount;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $permission;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $reqSerial;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $reqSign;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $reqTime;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $serialNumber;
|
|
|
|
public function getChannelId() {
|
|
return $this->channelId;
|
|
}
|
|
|
|
public function setChannelId($channelId) {
|
|
$this->channelId = $channelId;
|
|
$this->apiParams["channelId"] = $channelId;
|
|
}
|
|
|
|
public function getFeeAmount() {
|
|
return $this->feeAmount;
|
|
}
|
|
|
|
public function setFeeAmount($feeAmount) {
|
|
$this->feeAmount = $feeAmount;
|
|
$this->apiParams["feeAmount"] = $feeAmount;
|
|
}
|
|
|
|
public function getPermission() {
|
|
return $this->permission;
|
|
}
|
|
|
|
public function setPermission($permission) {
|
|
$this->permission = $permission;
|
|
$this->apiParams["permission"] = $permission;
|
|
}
|
|
|
|
public function getReqSerial() {
|
|
return $this->reqSerial;
|
|
}
|
|
|
|
public function setReqSerial($reqSerial) {
|
|
$this->reqSerial = $reqSerial;
|
|
$this->apiParams["reqSerial"] = $reqSerial;
|
|
}
|
|
|
|
public function getReqSign() {
|
|
return $this->reqSign;
|
|
}
|
|
|
|
public function setReqSign($reqSign) {
|
|
$this->reqSign = $reqSign;
|
|
$this->apiParams["reqSign"] = $reqSign;
|
|
}
|
|
|
|
public function getReqTime() {
|
|
return $this->reqTime;
|
|
}
|
|
|
|
public function setReqTime($reqTime) {
|
|
$this->reqTime = $reqTime;
|
|
$this->apiParams["reqTime"] = $reqTime;
|
|
}
|
|
|
|
public function getSerialNumber() {
|
|
return $this->serialNumber;
|
|
}
|
|
|
|
public function setSerialNumber($serialNumber) {
|
|
$this->serialNumber = $serialNumber;
|
|
$this->apiParams["serialNumber"] = $serialNumber;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.operasale.agentrecharged.add';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->channelId, 'channelId');
|
|
RequestCheckUtil::checkNotNull($this->feeAmount, 'feeAmount');
|
|
RequestCheckUtil::checkNotNull($this->permission, 'permission');
|
|
RequestCheckUtil::checkNotNull($this->reqSerial, 'reqSerial');
|
|
RequestCheckUtil::checkNotNull($this->reqSign, 'reqSign');
|
|
RequestCheckUtil::checkNotNull($this->reqTime, 'reqTime');
|
|
RequestCheckUtil::checkNotNull($this->serialNumber, 'serialNumber');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "addAgentrecharged";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|