You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/extend/suning-sdk-php/request/retailer/BtborderrefundReceiveReques...

101 lines
1.9 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2019-7-29
*/
class BtborderrefundReceiveRequest extends SuningRequest{
/**
*
*/
private $appId;
/**
*
*/
private $channelCode;
/**
*
*/
private $orderItemNo;
/**
*
*/
private $refundState;
/**
*
*/
private $storeCode;
public function getAppId() {
return $this->appId;
}
public function setAppId($appId) {
$this->appId = $appId;
$this->apiParams["appId"] = $appId;
}
public function getChannelCode() {
return $this->channelCode;
}
public function setChannelCode($channelCode) {
$this->channelCode = $channelCode;
$this->apiParams["channelCode"] = $channelCode;
}
public function getOrderItemNo() {
return $this->orderItemNo;
}
public function setOrderItemNo($orderItemNo) {
$this->orderItemNo = $orderItemNo;
$this->apiParams["orderItemNo"] = $orderItemNo;
}
public function getRefundState() {
return $this->refundState;
}
public function setRefundState($refundState) {
$this->refundState = $refundState;
$this->apiParams["refundState"] = $refundState;
}
public function getStoreCode() {
return $this->storeCode;
}
public function setStoreCode($storeCode) {
$this->storeCode = $storeCode;
$this->apiParams["storeCode"] = $storeCode;
}
public function getApiMethodName(){
return 'suning.retailer.btborderrefund.receive';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->appId, 'appId');
RequestCheckUtil::checkNotNull($this->orderItemNo, 'orderItemNo');
RequestCheckUtil::checkNotNull($this->refundState, 'refundState');
}
public function getBizName(){
return "receiveBtborderrefund";
}
}
?>