48 lines
760 B
PHP
48 lines
760 B
PHP
<?php
|
|
/**
|
|
* TOP API: tmall.purchase.card.fetch request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2021.11.23
|
|
*/
|
|
class TmallPurchaseCardFetchRequest
|
|
{
|
|
/**
|
|
* 外部请求对象
|
|
**/
|
|
private $cardFetchReq;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setCardFetchReq($cardFetchReq)
|
|
{
|
|
$this->cardFetchReq = $cardFetchReq;
|
|
$this->apiParas["card_fetch_req"] = $cardFetchReq;
|
|
}
|
|
|
|
public function getCardFetchReq()
|
|
{
|
|
return $this->cardFetchReq;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "tmall.purchase.card.fetch";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|