代码初始化
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Invoice;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 查询发票信息返回
|
||||
* Class GetInvoiceInformationResponseData
|
||||
*/
|
||||
class GetInvoiceInformationResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 发票信息
|
||||
* @var InformationDataInfo[]
|
||||
*/
|
||||
protected $information;
|
||||
|
||||
/**
|
||||
* 发票信息
|
||||
* @var array $items
|
||||
*/
|
||||
public function setInformation($items)
|
||||
{
|
||||
$this->information = array();
|
||||
foreach ($items as $k => $v) {
|
||||
array_push($this->information, new InformationDataInfo($v));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 发票信息
|
||||
* @return InformationDataInfo[]
|
||||
*/
|
||||
public function getInformation()
|
||||
{
|
||||
return $this->information;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user