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.
88 lines
1.6 KiB
88 lines
1.6 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2021-7-8
|
||
|
*/
|
||
|
class AccountexistQueryRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $partnerId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $sceneId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $userId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $userType;
|
||
|
|
||
|
public function getPartnerId() {
|
||
|
return $this->partnerId;
|
||
|
}
|
||
|
|
||
|
public function setPartnerId($partnerId) {
|
||
|
$this->partnerId = $partnerId;
|
||
|
$this->apiParams["partnerId"] = $partnerId;
|
||
|
}
|
||
|
|
||
|
public function getSceneId() {
|
||
|
return $this->sceneId;
|
||
|
}
|
||
|
|
||
|
public function setSceneId($sceneId) {
|
||
|
$this->sceneId = $sceneId;
|
||
|
$this->apiParams["sceneId"] = $sceneId;
|
||
|
}
|
||
|
|
||
|
public function getUserId() {
|
||
|
return $this->userId;
|
||
|
}
|
||
|
|
||
|
public function setUserId($userId) {
|
||
|
$this->userId = $userId;
|
||
|
$this->apiParams["userId"] = $userId;
|
||
|
}
|
||
|
|
||
|
public function getUserType() {
|
||
|
return $this->userType;
|
||
|
}
|
||
|
|
||
|
public function setUserType($userType) {
|
||
|
$this->userType = $userType;
|
||
|
$this->apiParams["userType"] = $userType;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.custexpand.accountexist.query';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->partnerId, 'partnerId');
|
||
|
RequestCheckUtil::checkNotNull($this->sceneId, 'sceneId');
|
||
|
RequestCheckUtil::checkNotNull($this->userId, 'userId');
|
||
|
RequestCheckUtil::checkNotNull($this->userType, 'userType');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "queryAccountexist";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|