48 lines
744 B
PHP
48 lines
744 B
PHP
<?php
|
|
/**
|
|
* TOP API: tmall.purchase.card.buy request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2023.12.10
|
|
*/
|
|
class TmallPurchaseCardBuyRequest
|
|
{
|
|
/**
|
|
* 售卡请求对象(必填)
|
|
**/
|
|
private $cardBuyReq;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setCardBuyReq($cardBuyReq)
|
|
{
|
|
$this->cardBuyReq = $cardBuyReq;
|
|
$this->apiParas["card_buy_req"] = $cardBuyReq;
|
|
}
|
|
|
|
public function getCardBuyReq()
|
|
{
|
|
return $this->cardBuyReq;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "tmall.purchase.card.buy";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|