REAPI/extend/sdk/taobao/top/request/TmallPurchaseCardBuyRequest.php

48 lines
744 B
PHP
Raw Normal View History

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