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.
278 lines
5.7 KiB
278 lines
5.7 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2022-7-15
|
|
*/
|
|
class BuchaletterCreateRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $applyModel;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $areaCompanyCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $brandCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $endDate;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $invoiceCategory;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $invoiceContent;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $payAmount;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $payDate;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $pdfContent;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $settlementType;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $snCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $startDate;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierApplicationCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $taxClassCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $taxCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $haierLetterType;
|
|
|
|
public function getApplyModel() {
|
|
return $this->applyModel;
|
|
}
|
|
|
|
public function setApplyModel($applyModel) {
|
|
$this->applyModel = $applyModel;
|
|
$this->apiParams["applyModel"] = $applyModel;
|
|
}
|
|
|
|
public function getAreaCompanyCode() {
|
|
return $this->areaCompanyCode;
|
|
}
|
|
|
|
public function setAreaCompanyCode($areaCompanyCode) {
|
|
$this->areaCompanyCode = $areaCompanyCode;
|
|
$this->apiParams["areaCompanyCode"] = $areaCompanyCode;
|
|
}
|
|
|
|
public function getBrandCode() {
|
|
return $this->brandCode;
|
|
}
|
|
|
|
public function setBrandCode($brandCode) {
|
|
$this->brandCode = $brandCode;
|
|
$this->apiParams["brandCode"] = $brandCode;
|
|
}
|
|
|
|
public function getEndDate() {
|
|
return $this->endDate;
|
|
}
|
|
|
|
public function setEndDate($endDate) {
|
|
$this->endDate = $endDate;
|
|
$this->apiParams["endDate"] = $endDate;
|
|
}
|
|
|
|
public function getInvoiceCategory() {
|
|
return $this->invoiceCategory;
|
|
}
|
|
|
|
public function setInvoiceCategory($invoiceCategory) {
|
|
$this->invoiceCategory = $invoiceCategory;
|
|
$this->apiParams["invoiceCategory"] = $invoiceCategory;
|
|
}
|
|
|
|
public function getInvoiceContent() {
|
|
return $this->invoiceContent;
|
|
}
|
|
|
|
public function setInvoiceContent($invoiceContent) {
|
|
$this->invoiceContent = $invoiceContent;
|
|
$this->apiParams["invoiceContent"] = $invoiceContent;
|
|
}
|
|
|
|
public function getPayAmount() {
|
|
return $this->payAmount;
|
|
}
|
|
|
|
public function setPayAmount($payAmount) {
|
|
$this->payAmount = $payAmount;
|
|
$this->apiParams["payAmount"] = $payAmount;
|
|
}
|
|
|
|
public function getPayDate() {
|
|
return $this->payDate;
|
|
}
|
|
|
|
public function setPayDate($payDate) {
|
|
$this->payDate = $payDate;
|
|
$this->apiParams["payDate"] = $payDate;
|
|
}
|
|
|
|
public function getPdfContent() {
|
|
return $this->pdfContent;
|
|
}
|
|
|
|
public function setPdfContent($pdfContent) {
|
|
$this->pdfContent = $pdfContent;
|
|
$this->apiParams["pdfContent"] = $pdfContent;
|
|
}
|
|
|
|
public function getSettlementType() {
|
|
return $this->settlementType;
|
|
}
|
|
|
|
public function setSettlementType($settlementType) {
|
|
$this->settlementType = $settlementType;
|
|
$this->apiParams["settlementType"] = $settlementType;
|
|
}
|
|
|
|
public function getSnCode() {
|
|
return $this->snCode;
|
|
}
|
|
|
|
public function setSnCode($snCode) {
|
|
$this->snCode = $snCode;
|
|
$this->apiParams["snCode"] = $snCode;
|
|
}
|
|
|
|
public function getStartDate() {
|
|
return $this->startDate;
|
|
}
|
|
|
|
public function setStartDate($startDate) {
|
|
$this->startDate = $startDate;
|
|
$this->apiParams["startDate"] = $startDate;
|
|
}
|
|
|
|
public function getSupplierApplicationCode() {
|
|
return $this->supplierApplicationCode;
|
|
}
|
|
|
|
public function setSupplierApplicationCode($supplierApplicationCode) {
|
|
$this->supplierApplicationCode = $supplierApplicationCode;
|
|
$this->apiParams["supplierApplicationCode"] = $supplierApplicationCode;
|
|
}
|
|
|
|
public function getSupplierCode() {
|
|
return $this->supplierCode;
|
|
}
|
|
|
|
public function setSupplierCode($supplierCode) {
|
|
$this->supplierCode = $supplierCode;
|
|
$this->apiParams["supplierCode"] = $supplierCode;
|
|
}
|
|
|
|
public function getTaxClassCode() {
|
|
return $this->taxClassCode;
|
|
}
|
|
|
|
public function setTaxClassCode($taxClassCode) {
|
|
$this->taxClassCode = $taxClassCode;
|
|
$this->apiParams["taxClassCode"] = $taxClassCode;
|
|
}
|
|
|
|
public function getTaxCode() {
|
|
return $this->taxCode;
|
|
}
|
|
|
|
public function setTaxCode($taxCode) {
|
|
$this->taxCode = $taxCode;
|
|
$this->apiParams["taxCode"] = $taxCode;
|
|
}
|
|
|
|
public function getHaierLetterType() {
|
|
return $this->haierLetterType;
|
|
}
|
|
|
|
public function setHaierLetterType($haierLetterType) {
|
|
$this->haierLetterType = $haierLetterType;
|
|
$this->apiParams["haierLetterType"] = $haierLetterType;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.selfmarket.buchaletter.create';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->applyModel, 'applyModel');
|
|
RequestCheckUtil::checkNotNull($this->areaCompanyCode, 'areaCompanyCode');
|
|
RequestCheckUtil::checkNotNull($this->brandCode, 'brandCode');
|
|
RequestCheckUtil::checkNotNull($this->payAmount, 'payAmount');
|
|
RequestCheckUtil::checkNotNull($this->payDate, 'payDate');
|
|
RequestCheckUtil::checkNotNull($this->pdfContent, 'pdfContent');
|
|
RequestCheckUtil::checkNotNull($this->settlementType, 'settlementType');
|
|
RequestCheckUtil::checkNotNull($this->snCode, 'snCode');
|
|
RequestCheckUtil::checkNotNull($this->supplierApplicationCode, 'supplierApplicationCode');
|
|
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
|
|
RequestCheckUtil::checkNotNull($this->taxClassCode, 'taxClassCode');
|
|
RequestCheckUtil::checkNotNull($this->taxCode, 'taxCode');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "createBuchaletter";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|