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.
57 lines
1.1 KiB
57 lines
1.1 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2019-10-18
|
|
*/
|
|
class AddresssetQueryRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $addressHierarchy;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $provinceCode;
|
|
|
|
public function getAddressHierarchy() {
|
|
return $this->addressHierarchy;
|
|
}
|
|
|
|
public function setAddressHierarchy($addressHierarchy) {
|
|
$this->addressHierarchy = $addressHierarchy;
|
|
$this->apiParams["addressHierarchy"] = $addressHierarchy;
|
|
}
|
|
|
|
public function getProvinceCode() {
|
|
return $this->provinceCode;
|
|
}
|
|
|
|
public function setProvinceCode($provinceCode) {
|
|
$this->provinceCode = $provinceCode;
|
|
$this->apiParams["provinceCode"] = $provinceCode;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.online.addressset.query';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->addressHierarchy, 'addressHierarchy');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "queryAddressset";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|