REAPI/extend/sdk/banma/client/request/DirectRechargeGhkdGetPhoneInfoRequest.php
2024-09-29 15:43:18 +08:00

105 lines
2.0 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* API: qianmi.elife.directRecharge.ghkd.getPhoneInfo request
*
* @author auto create
* @since 1.0
*/
class DirectRechargeGhkdGetPhoneInfoRequest
{
private $apiParas = array();
/**
* 所在市名称(后面不带'市'
*/
private $city;
/**
* 运营商名称,如:移动、联通、电信
*/
private $operator;
/**
* 固定电话
*/
private $phoneNo;
/**
* 所在省名称(后面不带'省'
*/
private $province;
/**
* 返回值内容类型 area:仅返回区域信息 detail:仅返回账户详情(包含余额) all:返回所有信息,默认返回区域
*/
private $respType;
public function setCity($city)
{
$this->city = $city;
$this->apiParas["city"] = $city;
}
public function getCity() {
return $this->city;
}
public function setOperator($operator)
{
$this->operator = $operator;
$this->apiParas["operator"] = $operator;
}
public function getOperator() {
return $this->operator;
}
public function setPhoneNo($phoneNo)
{
$this->phoneNo = $phoneNo;
$this->apiParas["phoneNo"] = $phoneNo;
}
public function getPhoneNo() {
return $this->phoneNo;
}
public function setProvince($province)
{
$this->province = $province;
$this->apiParas["province"] = $province;
}
public function getProvince() {
return $this->province;
}
public function setRespType($respType)
{
$this->respType = $respType;
$this->apiParas["respType"] = $respType;
}
public function getRespType() {
return $this->respType;
}
public function getApiMethodName()
{
return "qianmi.elife.directRecharge.ghkd.getPhoneInfo";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->city, "city");
RequestCheckUtil::checkNotNull($this->operator, "operator");
RequestCheckUtil::checkNotNull($this->phoneNo, "phoneNo");
RequestCheckUtil::checkNotNull($this->province, "province");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}