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.
157 lines
2.8 KiB
157 lines
2.8 KiB
8 months ago
|
<?php
|
||
|
/**
|
||
|
* 苏宁开放平台接口 -
|
||
|
*
|
||
|
* @author suning
|
||
|
* @date 2021-12-15
|
||
|
*/
|
||
|
class ApplyreverseinvoiceConfirmRequest extends SuningRequest{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $amount;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $companyName;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $orderInfo;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $redLetterNotice;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $regAccount;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $regAdd;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $regBank;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $regTel;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private $taxNo;
|
||
|
|
||
|
public function getAmount() {
|
||
|
return $this->amount;
|
||
|
}
|
||
|
|
||
|
public function setAmount($amount) {
|
||
|
$this->amount = $amount;
|
||
|
$this->apiParams["amount"] = $amount;
|
||
|
}
|
||
|
|
||
|
public function getCompanyName() {
|
||
|
return $this->companyName;
|
||
|
}
|
||
|
|
||
|
public function setCompanyName($companyName) {
|
||
|
$this->companyName = $companyName;
|
||
|
$this->apiParams["companyName"] = $companyName;
|
||
|
}
|
||
|
|
||
|
public function getOrderInfo() {
|
||
|
return $this->orderInfo;
|
||
|
}
|
||
|
|
||
|
public function setOrderInfo($orderInfo) {
|
||
|
$this->orderInfo = $orderInfo;
|
||
|
$this->apiParams["orderInfo"] = $orderInfo;
|
||
|
}
|
||
|
|
||
|
public function getRedLetterNotice() {
|
||
|
return $this->redLetterNotice;
|
||
|
}
|
||
|
|
||
|
public function setRedLetterNotice($redLetterNotice) {
|
||
|
$this->redLetterNotice = $redLetterNotice;
|
||
|
$this->apiParams["redLetterNotice"] = $redLetterNotice;
|
||
|
}
|
||
|
|
||
|
public function getRegAccount() {
|
||
|
return $this->regAccount;
|
||
|
}
|
||
|
|
||
|
public function setRegAccount($regAccount) {
|
||
|
$this->regAccount = $regAccount;
|
||
|
$this->apiParams["regAccount"] = $regAccount;
|
||
|
}
|
||
|
|
||
|
public function getRegAdd() {
|
||
|
return $this->regAdd;
|
||
|
}
|
||
|
|
||
|
public function setRegAdd($regAdd) {
|
||
|
$this->regAdd = $regAdd;
|
||
|
$this->apiParams["regAdd"] = $regAdd;
|
||
|
}
|
||
|
|
||
|
public function getRegBank() {
|
||
|
return $this->regBank;
|
||
|
}
|
||
|
|
||
|
public function setRegBank($regBank) {
|
||
|
$this->regBank = $regBank;
|
||
|
$this->apiParams["regBank"] = $regBank;
|
||
|
}
|
||
|
|
||
|
public function getRegTel() {
|
||
|
return $this->regTel;
|
||
|
}
|
||
|
|
||
|
public function setRegTel($regTel) {
|
||
|
$this->regTel = $regTel;
|
||
|
$this->apiParams["regTel"] = $regTel;
|
||
|
}
|
||
|
|
||
|
public function getTaxNo() {
|
||
|
return $this->taxNo;
|
||
|
}
|
||
|
|
||
|
public function setTaxNo($taxNo) {
|
||
|
$this->taxNo = $taxNo;
|
||
|
$this->apiParams["taxNo"] = $taxNo;
|
||
|
}
|
||
|
|
||
|
public function getApiMethodName(){
|
||
|
return 'suning.govbus.applyreverseinvoice.confirm';
|
||
|
}
|
||
|
|
||
|
public function getApiParams(){
|
||
|
return $this->apiParams;
|
||
|
}
|
||
|
|
||
|
public function check(){
|
||
|
//非空校验
|
||
|
RequestCheckUtil::checkNotNull($this->amount, 'amount');
|
||
|
RequestCheckUtil::checkNotNull($this->orderInfo, 'orderInfo');
|
||
|
RequestCheckUtil::checkNotNull($this->redLetterNotice, 'redLetterNotice');
|
||
|
}
|
||
|
|
||
|
public function getBizName(){
|
||
|
return "confirmApplyreverseinvoice";
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|