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.
193 lines
4.4 KiB
193 lines
4.4 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2022-8-2
|
|
*/
|
|
class CuxiaofeeletterCreateRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $settleCompanyCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierApplicationCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $productBrandCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $areaCompanyCode;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $activityName;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $payAmount;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $settlementType;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $invoiceContent;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $lastPayDate;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $pdfContent;
|
|
|
|
public function getSupplierCode() {
|
|
return $this->supplierCode;
|
|
}
|
|
|
|
public function setSupplierCode($supplierCode) {
|
|
$this->supplierCode = $supplierCode;
|
|
$this->apiParams["supplierCode"] = $supplierCode;
|
|
}
|
|
|
|
public function getSettleCompanyCode() {
|
|
return $this->settleCompanyCode;
|
|
}
|
|
|
|
public function setSettleCompanyCode($settleCompanyCode) {
|
|
$this->settleCompanyCode = $settleCompanyCode;
|
|
$this->apiParams["settleCompanyCode"] = $settleCompanyCode;
|
|
}
|
|
|
|
public function getSupplierApplicationCode() {
|
|
return $this->supplierApplicationCode;
|
|
}
|
|
|
|
public function setSupplierApplicationCode($supplierApplicationCode) {
|
|
$this->supplierApplicationCode = $supplierApplicationCode;
|
|
$this->apiParams["supplierApplicationCode"] = $supplierApplicationCode;
|
|
}
|
|
|
|
public function getProductBrandCode() {
|
|
return $this->productBrandCode;
|
|
}
|
|
|
|
public function setProductBrandCode($productBrandCode) {
|
|
$this->productBrandCode = $productBrandCode;
|
|
$this->apiParams["productBrandCode"] = $productBrandCode;
|
|
}
|
|
|
|
public function getAreaCompanyCode() {
|
|
return $this->areaCompanyCode;
|
|
}
|
|
|
|
public function setAreaCompanyCode($areaCompanyCode) {
|
|
$this->areaCompanyCode = $areaCompanyCode;
|
|
$this->apiParams["areaCompanyCode"] = $areaCompanyCode;
|
|
}
|
|
|
|
public function getActivityName() {
|
|
return $this->activityName;
|
|
}
|
|
|
|
public function setActivityName($activityName) {
|
|
$this->activityName = $activityName;
|
|
$this->apiParams["activityName"] = $activityName;
|
|
}
|
|
|
|
public function getPayAmount() {
|
|
return $this->payAmount;
|
|
}
|
|
|
|
public function setPayAmount($payAmount) {
|
|
$this->payAmount = $payAmount;
|
|
$this->apiParams["payAmount"] = $payAmount;
|
|
}
|
|
|
|
public function getSettlementType() {
|
|
return $this->settlementType;
|
|
}
|
|
|
|
public function setSettlementType($settlementType) {
|
|
$this->settlementType = $settlementType;
|
|
$this->apiParams["settlementType"] = $settlementType;
|
|
}
|
|
|
|
public function getInvoiceContent() {
|
|
return $this->invoiceContent;
|
|
}
|
|
|
|
public function setInvoiceContent($invoiceContent) {
|
|
$this->invoiceContent = $invoiceContent;
|
|
$this->apiParams["invoiceContent"] = $invoiceContent;
|
|
}
|
|
|
|
public function getLastPayDate() {
|
|
return $this->lastPayDate;
|
|
}
|
|
|
|
public function setLastPayDate($lastPayDate) {
|
|
$this->lastPayDate = $lastPayDate;
|
|
$this->apiParams["lastPayDate"] = $lastPayDate;
|
|
}
|
|
|
|
public function getPdfContent() {
|
|
return $this->pdfContent;
|
|
}
|
|
|
|
public function setPdfContent($pdfContent) {
|
|
$this->pdfContent = $pdfContent;
|
|
$this->apiParams["pdfContent"] = $pdfContent;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.selfmarket.cuxiaofeeletter.create';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
|
|
RequestCheckUtil::checkNotNull($this->settleCompanyCode, 'settleCompanyCode');
|
|
RequestCheckUtil::checkNotNull($this->supplierApplicationCode, 'supplierApplicationCode');
|
|
RequestCheckUtil::checkNotNull($this->productBrandCode, 'productBrandCode');
|
|
RequestCheckUtil::checkNotNull($this->areaCompanyCode, 'areaCompanyCode');
|
|
RequestCheckUtil::checkNotNull($this->activityName, 'activityName');
|
|
RequestCheckUtil::checkNotNull($this->payAmount, 'payAmount');
|
|
RequestCheckUtil::checkNotNull($this->settlementType, 'settlementType');
|
|
RequestCheckUtil::checkNotNull($this->invoiceContent, 'invoiceContent');
|
|
RequestCheckUtil::checkNotNull($this->lastPayDate, 'lastPayDate');
|
|
RequestCheckUtil::checkNotNull($this->pdfContent, 'pdfContent');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "createCuxiaofeeletter";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|