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/verificationInfoModifyReque...

88 lines
1.6 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2018-10-8
*/
class verificationInfoModifyRequest extends SuningRequest{
/**
*
*/
private $eleCode;
/**
*
*/
private $codeType;
/**
*
*/
private $storeCode;
/**
*
*/
private $storeName;
public function getEleCode() {
return $this->eleCode;
}
public function setEleCode($eleCode) {
$this->eleCode = $eleCode;
$this->apiParams["eleCode"] = $eleCode;
}
public function getCodeType() {
return $this->codeType;
}
public function setCodeType($codeType) {
$this->codeType = $codeType;
$this->apiParams["codeType"] = $codeType;
}
public function getStoreCode() {
return $this->storeCode;
}
public function setStoreCode($storeCode) {
$this->storeCode = $storeCode;
$this->apiParams["storeCode"] = $storeCode;
}
public function getStoreName() {
return $this->storeName;
}
public function setStoreName($storeName) {
$this->storeName = $storeName;
$this->apiParams["storeName"] = $storeName;
}
public function getApiMethodName(){
return 'suning.custom.code.modify';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->eleCode, 'eleCode');
RequestCheckUtil::checkNotNull($this->codeType, 'codeType');
RequestCheckUtil::checkNotNull($this->storeCode, 'storeCode');
RequestCheckUtil::checkNotNull($this->storeName, 'storeName');
}
public function getBizName(){
return "verificationInfo";
}
}
?>