Files
midi-php/extend/Yzh/Model/Invoice/GetInvoiceInformationResponseData.php
2025-08-13 10:43:56 +08:00

41 lines
807 B
PHP

<?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;
}
}