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/LetterQueryRequest.php

145 lines
2.7 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2023-12-1
*/
class LetterQueryRequest extends SelectSuningRequest{
/**
*
*/
private $applyModel;
/**
*
*/
private $endDate;
/**
*
*/
private $snCode;
/**
*
*/
private $startDate;
/**
*
*/
private $supplierApplicationCode;
/**
*
*/
private $supplierCode;
/**
*
*/
private $startApprovalDate;
/**
*
*/
private $endApprovalDate;
public function getApplyModel() {
return $this->applyModel;
}
public function setApplyModel($applyModel) {
$this->applyModel = $applyModel;
$this->apiParams["applyModel"] = $applyModel;
}
public function getEndDate() {
return $this->endDate;
}
public function setEndDate($endDate) {
$this->endDate = $endDate;
$this->apiParams["endDate"] = $endDate;
}
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 getStartApprovalDate() {
return $this->startApprovalDate;
}
public function setStartApprovalDate($startApprovalDate) {
$this->startApprovalDate = $startApprovalDate;
$this->apiParams["startApprovalDate"] = $startApprovalDate;
}
public function getEndApprovalDate() {
return $this->endApprovalDate;
}
public function setEndApprovalDate($endApprovalDate) {
$this->endApprovalDate = $endApprovalDate;
$this->apiParams["endApprovalDate"] = $endApprovalDate;
}
public function getApiMethodName(){
return 'suning.selfmarket.letter.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
}
public function getBizName(){
return "queryLetter";
}
}
?>