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/selfmarket/ClearanceAddRequest.php

86 lines
1.6 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-5-7
*/
class ClearanceAddRequest extends SuningRequest{
/**
*
*/
private $clearanceFlag;
/**
*
*/
private $customsReceipt;
/**
*
*/
private $failCode;
/**
*
*/
private $packageOrderId;
public function getClearanceFlag() {
return $this->clearanceFlag;
}
public function setClearanceFlag($clearanceFlag) {
$this->clearanceFlag = $clearanceFlag;
$this->apiParams["clearanceFlag"] = $clearanceFlag;
}
public function getCustomsReceipt() {
return $this->customsReceipt;
}
public function setCustomsReceipt($customsReceipt) {
$this->customsReceipt = $customsReceipt;
$this->apiParams["customsReceipt"] = $customsReceipt;
}
public function getFailCode() {
return $this->failCode;
}
public function setFailCode($failCode) {
$this->failCode = $failCode;
$this->apiParams["failCode"] = $failCode;
}
public function getPackageOrderId() {
return $this->packageOrderId;
}
public function setPackageOrderId($packageOrderId) {
$this->packageOrderId = $packageOrderId;
$this->apiParams["packageOrderId"] = $packageOrderId;
}
public function getApiMethodName(){
return 'suning.selfmarket.clearance.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->clearanceFlag, 'clearanceFlag');
RequestCheckUtil::checkNotNull($this->packageOrderId, 'packageOrderId');
}
public function getBizName(){
return "addClearance";
}
}
?>