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.
88 lines
1.6 KiB
88 lines
1.6 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2022-9-6
|
||
|
*/
|
||
|
class SecretphonenumorderPermitRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $custId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $orderId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $serialId;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $tradeInfo;
|
||
|
|
||
|
public function getCustId() {
|
||
|
return $this->custId;
|
||
|
}
|
||
|
|
||
|
public function setCustId($custId) {
|
||
|
$this->custId = $custId;
|
||
|
$this->apiParams["custId"] = $custId;
|
||
|
}
|
||
|
|
||
|
public function getOrderId() {
|
||
|
return $this->orderId;
|
||
|
}
|
||
|
|
||
|
public function setOrderId($orderId) {
|
||
|
$this->orderId = $orderId;
|
||
|
$this->apiParams["orderId"] = $orderId;
|
||
|
}
|
||
|
|
||
|
public function getSerialId() {
|
||
|
return $this->serialId;
|
||
|
}
|
||
|
|
||
|
public function setSerialId($serialId) {
|
||
|
$this->serialId = $serialId;
|
||
|
$this->apiParams["serialId"] = $serialId;
|
||
|
}
|
||
|
|
||
|
public function getTradeInfo() {
|
||
|
return $this->tradeInfo;
|
||
|
}
|
||
|
|
||
|
public function setTradeInfo($tradeInfo) {
|
||
|
$this->tradeInfo = $tradeInfo;
|
||
|
$this->apiParams["tradeInfo"] = $tradeInfo;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.operasale.secretphonenumorder.permit';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->custId, 'custId');
|
||
|
RequestCheckUtil::checkNotNull($this->orderId, 'orderId');
|
||
|
RequestCheckUtil::checkNotNull($this->serialId, 'serialId');
|
||
|
RequestCheckUtil::checkNotNull($this->tradeInfo, 'tradeInfo');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "permitSecretphonenumorder";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|