代码初始化
This commit is contained in:
32
extend/Yzh/Model/Invoice/GetInvoiceFileRequest.php
Normal file
32
extend/Yzh/Model/Invoice/GetInvoiceFileRequest.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Invoice;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 下载 PDF 版发票请求
|
||||
* Class GetInvoiceFileRequest
|
||||
*/
|
||||
class GetInvoiceFileRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 发票申请编号
|
||||
* @var string
|
||||
*/
|
||||
public $invoice_apply_id;
|
||||
/**
|
||||
* 发票申请单 ID
|
||||
* @var string
|
||||
*/
|
||||
public $application_id;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user