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/GuanggaoletterCreateRequest...

163 lines
3.7 KiB

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