cardList; } public function setCardList($cardList) { $this->cardList = $cardList; $arr = array(); foreach ($cardList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["cardList"] = $arr; } public function getFailReason() { return $this->failReason; } public function setFailReason($failReason) { $this->failReason = $failReason; $this->apiParams["failReason"] = $failReason; } public function getIqStatus() { return $this->iqStatus; } public function setIqStatus($iqStatus) { $this->iqStatus = $iqStatus; $this->apiParams["iqStatus"] = $iqStatus; } public function getOrderId() { return $this->orderId; } public function setOrderId($orderId) { $this->orderId = $orderId; $this->apiParams["orderId"] = $orderId; } public function getOrderItemId() { return $this->orderItemId; } public function setOrderItemId($orderItemId) { $this->orderItemId = $orderItemId; $this->apiParams["orderItemId"] = $orderItemId; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiMethodName(){ return 'suning.selfmarket.leaguerstatus.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->iqStatus, 'iqStatus'); RequestCheckUtil::checkNotNull($this->orderId, 'orderId'); RequestCheckUtil::checkNotNull($this->orderItemId, 'orderItemId'); } public function getBizName(){ return "addLeaguerstatus"; } } class CardList { private $apiParams = array(); private $cardCode; private $cardSec; public function getCardCode() { return $this->cardCode; } public function setCardCode($cardCode) { $this->cardCode = $cardCode; $this->apiParams["cardCode"] = $cardCode; } public function getCardSec() { return $this->cardSec; } public function setCardSec($cardSec) { $this->cardSec = $cardSec; $this->apiParams["cardSec"] = $cardSec; } public function getApiParams(){ return $this->apiParams; } } ?>