46 lines
755 B
PHP
46 lines
755 B
PHP
![]() |
<?php
|
||
|
/**
|
||
|
* API: bm.elife.order.custom.get request
|
||
|
*
|
||
|
* @author auto create
|
||
|
* @since 1.0
|
||
|
*/
|
||
|
class BmOrderCustomGetRequest
|
||
|
{
|
||
|
private $apiParas = array();
|
||
|
|
||
|
/**
|
||
|
* 外部订单编号
|
||
|
*/
|
||
|
private $outerTid;
|
||
|
|
||
|
public function setOuterTid($outerTid)
|
||
|
{
|
||
|
$this->outerTid = $outerTid;
|
||
|
$this->apiParas["outerTid"] = $outerTid;
|
||
|
}
|
||
|
public function getOuterTid() {
|
||
|
return $this->outerTid;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName()
|
||
|
{
|
||
|
return "bm.elife.order.custom.get";
|
||
|
}
|
||
|
|
||
|
public function getApiParas()
|
||
|
{
|
||
|
return $this->apiParas;
|
||
|
}
|
||
|
|
||
|
public function check()
|
||
|
{
|
||
|
RequestCheckUtil::checkNotNull($this->outerTid, "outerTid");
|
||
|
}
|
||
|
|
||
|
public function putOtherTextParam($key, $value) {
|
||
|
$this->apiParas[$key] = $value;
|
||
|
$this->$key = $value;
|
||
|
}
|
||
|
}
|