REAPI/extend/sdk/banma/client/request/BmOrderCustomGetRequest.php

46 lines
755 B
PHP
Raw Permalink Normal View History

2024-09-29 15:43:18 +08:00
<?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;
}
}