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/custom/InvbalanceGetRequest.php

73 lines
1.5 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-10-22
*/
class InvbalanceGetRequest extends SuningRequest{
/**
*
*/
private $payeeRegisterNo;
/**
*
*/
private $platformCoding;
/**
*
*/
private $queryType;
public function getPayeeRegisterNo() {
return $this->payeeRegisterNo;
}
public function setPayeeRegisterNo($payeeRegisterNo) {
$this->payeeRegisterNo = $payeeRegisterNo;
$this->apiParams["payeeRegisterNo"] = $payeeRegisterNo;
}
public function getPlatformCoding() {
return $this->platformCoding;
}
public function setPlatformCoding($platformCoding) {
$this->platformCoding = $platformCoding;
$this->apiParams["platformCoding"] = $platformCoding;
}
public function getQueryType() {
return $this->queryType;
}
public function setQueryType($queryType) {
$this->queryType = $queryType;
$this->apiParams["queryType"] = $queryType;
}
public function getApiMethodName(){
return 'suning.custom.invbalance.get';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->payeeRegisterNo, 'payeeRegisterNo');
RequestCheckUtil::checkNotNull($this->platformCoding, 'platformCoding');
RequestCheckUtil::checkNotNull($this->queryType, 'queryType');
}
public function getBizName(){
return "getInvbalance";
}
}
?>