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/govbus/GetinvoiceQueryRequest.php

58 lines
960 B

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2021-4-6
*/
class GetinvoiceQueryRequest extends SuningRequest{
/**
*
*/
private $field;
/**
*
*/
private $type;
public function getField() {
return $this->field;
}
public function setField($field) {
$this->field = $field;
$this->apiParams["field"] = $field;
}
public function getType() {
return $this->type;
}
public function setType($type) {
$this->type = $type;
$this->apiParams["type"] = $type;
}
public function getApiMethodName(){
return 'suning.govbus.getinvoice.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->field, 'field');
RequestCheckUtil::checkNotNull($this->type, 'type');
}
public function getBizName(){
return "queryGetinvoice";
}
}
?>