代码初始化

This commit is contained in:
2025-08-07 20:21:47 +08:00
commit 50f3a2dbb0
2191 changed files with 374790 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 发票开具申请请求
* Class ApplyInvoiceRequest
*/
class ApplyInvoiceRequest extends BaseRequest
{
/**
* 发票申请编号
* @var string
*/
public $invoice_apply_id;
/**
* 综合服务主体 ID
* @var string
*/
public $broker_id;
/**
* 平台企业 ID
* @var string
*/
public $dealer_id;
/**
* 申请开票金额
* @var string
*/
public $amount;
/**
* 发票类型
* @var string
*/
public $invoice_type;
/**
* 开户行及账号
* @var string
*/
public $bank_name_account;
/**
* 货物或应税劳务、服务名称
* @var string
*/
public $goods_services_name;
/**
* 发票备注
* @var string
*/
public $remark;
/**
* 发票接收邮箱
* @var string[]
*/
public $receive_emails;
/**
* 发票介质
* @var string
*/
public $invoice_media;
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 发票开具申请返回
* Class ApplyInvoiceResponse
*/
class ApplyInvoiceResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return ApplyInvoiceResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new ApplyInvoiceResponseData($data);
return $this;
}
}

View File

@@ -0,0 +1,60 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
use Yzh\Model\ResponseDataInterface;
/**
* 发票开具申请返回
* Class ApplyInvoiceResponseData
*/
class ApplyInvoiceResponseData extends BaseModel implements ResponseDataInterface
{
/**
* 发票申请单 ID
* @var string
*/
protected $application_id;
/**
* 发票张数
* @var int64
*/
protected $count;
/**
* 发票申请单 ID
* @var string $application_id
*/
public function setApplicationId($application_id)
{
$this->application_id = $application_id;
}
/**
* 发票申请单 ID
* @return string
*/
public function getApplicationId()
{
return $this->application_id;
}
/**
* 发票张数
* @var int64 $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* 发票张数
* @return int64
*/
public function getCount()
{
return $this->count;
}
}

View File

@@ -0,0 +1,59 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
/**
* 系统支持的开户行及账号
* Class BankNameAccount
*/
class BankNameAccount extends BaseModel
{
/**
* 开户行及账号
* @var string
*/
protected $item;
/**
* 是否为默认值
* @var bool
*/
protected $default;
/**
* 开户行及账号
* @var string $item
*/
public function setItem($item)
{
$this->item = $item;
}
/**
* 开户行及账号
* @return string
*/
public function getItem()
{
return $this->item;
}
/**
* 是否为默认值
* @var bool $default
*/
public function setDefault($default)
{
$this->default = $default;
}
/**
* 是否为默认值
* @return bool
*/
public function getDefault()
{
return $this->default;
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 查询可开具发票额度和发票开具信息请求
* Class GetInvoiceAmountRequest
*/
class GetInvoiceAmountRequest extends BaseRequest
{
/**
* 综合服务主体 ID
* @var string
*/
public $broker_id;
/**
* 平台企业 ID
* @var string
*/
public $dealer_id;
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 查询可开具发票额度和发票开具信息返回
* Class GetInvoiceAmountResponse
*/
class GetInvoiceAmountResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return GetInvoiceAmountResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new GetInvoiceAmountResponseData($data);
return $this;
}
}

View File

@@ -0,0 +1,89 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
use Yzh\Model\ResponseDataInterface;
/**
* 查询可开具发票额度和发票开具信息返回
* Class GetInvoiceAmountResponseData
*/
class GetInvoiceAmountResponseData extends BaseModel implements ResponseDataInterface
{
/**
* 可开票额度
* @var string
*/
protected $amount;
/**
* 系统支持的开户行及账号
* @var BankNameAccount[]
*/
protected $bank_name_account;
/**
* 系统支持的货物或应税劳务、服务名称
* @var GoodsServicesName[]
*/
protected $goods_services_name;
/**
* 可开票额度
* @var string $amount
*/
public function setAmount($amount)
{
$this->amount = $amount;
}
/**
* 可开票额度
* @return string
*/
public function getAmount()
{
return $this->amount;
}
/**
* 系统支持的开户行及账号
* @var array $items
*/
public function setBankNameAccount($items)
{
$this->bank_name_account = array();
foreach ($items as $k => $v) {
array_push($this->bank_name_account, new BankNameAccount($v));
}
}
/**
* 系统支持的开户行及账号
* @return BankNameAccount[]
*/
public function getBankNameAccount()
{
return $this->bank_name_account;
}
/**
* 系统支持的货物或应税劳务、服务名称
* @var array $items
*/
public function setGoodsServicesName($items)
{
$this->goods_services_name = array();
foreach ($items as $k => $v) {
array_push($this->goods_services_name, new GoodsServicesName($v));
}
}
/**
* 系统支持的货物或应税劳务、服务名称
* @return GoodsServicesName[]
*/
public function getGoodsServicesName()
{
return $this->goods_services_name;
}
}

View 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];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 下载 PDF 版发票返回
* Class GetInvoiceFileResponse
*/
class GetInvoiceFileResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return GetInvoiceFileResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new GetInvoiceFileResponseData($data);
return $this;
}
}

View File

@@ -0,0 +1,60 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
use Yzh\Model\ResponseDataInterface;
/**
* 下载 PDF 版发票返回
* Class GetInvoiceFileResponseData
*/
class GetInvoiceFileResponseData extends BaseModel implements ResponseDataInterface
{
/**
* 下载地址
* @var string
*/
protected $url;
/**
* 文件名称
* @var string
*/
protected $name;
/**
* 下载地址
* @var string $url
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* 下载地址
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* 文件名称
* @var string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* 文件名称
* @return string
*/
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 查询发票信息请求
* Class GetInvoiceInformationRequest
*/
class GetInvoiceInformationRequest 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];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 查询发票信息返回
* Class GetInvoiceInformationResponse
*/
class GetInvoiceInformationResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return GetInvoiceInformationResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new GetInvoiceInformationResponseData($data);
return $this;
}
}

View File

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

View File

@@ -0,0 +1,37 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 查询平台企业已开具和待开具发票金额请求
* Class GetInvoiceStatRequest
*/
class GetInvoiceStatRequest extends BaseRequest
{
/**
* 综合服务主体 ID
* @var string
*/
public $broker_id;
/**
* 平台企业 ID
* @var string
*/
public $dealer_id;
/**
* 查询年份
* @var int32
*/
public $year;
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 查询平台企业已开具和待开具发票金额返回
* Class GetInvoiceStatResponse
*/
class GetInvoiceStatResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return GetInvoiceStatResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new GetInvoiceStatResponseData($data);
return $this;
}
}

View File

@@ -0,0 +1,129 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
use Yzh\Model\ResponseDataInterface;
/**
* 查询平台企业已开具和待开具发票金额返回
* Class GetInvoiceStatResponseData
*/
class GetInvoiceStatResponseData extends BaseModel implements ResponseDataInterface
{
/**
* 平台企业 ID
* @var string
*/
protected $dealer_id;
/**
* 综合服务主体 ID
* @var string
*/
protected $broker_id;
/**
* 已开发票金额
* @var string
*/
protected $invoiced;
/**
* 开票中发票金额
* @var string
*/
protected $invoicing;
/**
* 待开发票金额
* @var string
*/
protected $not_invoiced;
/**
* 平台企业 ID
* @var string $dealer_id
*/
public function setDealerId($dealer_id)
{
$this->dealer_id = $dealer_id;
}
/**
* 平台企业 ID
* @return string
*/
public function getDealerId()
{
return $this->dealer_id;
}
/**
* 综合服务主体 ID
* @var string $broker_id
*/
public function setBrokerId($broker_id)
{
$this->broker_id = $broker_id;
}
/**
* 综合服务主体 ID
* @return string
*/
public function getBrokerId()
{
return $this->broker_id;
}
/**
* 已开发票金额
* @var string $invoiced
*/
public function setInvoiced($invoiced)
{
$this->invoiced = $invoiced;
}
/**
* 已开发票金额
* @return string
*/
public function getInvoiced()
{
return $this->invoiced;
}
/**
* 开票中发票金额
* @var string $invoicing
*/
public function setInvoicing($invoicing)
{
$this->invoicing = $invoicing;
}
/**
* 开票中发票金额
* @return string
*/
public function getInvoicing()
{
return $this->invoicing;
}
/**
* 待开发票金额
* @var string $not_invoiced
*/
public function setNotInvoiced($not_invoiced)
{
$this->not_invoiced = $not_invoiced;
}
/**
* 待开发票金额
* @return string
*/
public function getNotInvoiced()
{
return $this->not_invoiced;
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 查询发票开具申请状态请求
* Class GetInvoiceStatusRequest
*/
class GetInvoiceStatusRequest 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];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 查询发票开具申请状态返回
* Class GetInvoiceStatusResponse
*/
class GetInvoiceStatusResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return GetInvoiceStatusResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new GetInvoiceStatusResponseData($data);
return $this;
}
}

View File

@@ -0,0 +1,382 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
use Yzh\Model\ResponseDataInterface;
/**
* 查询发票开具申请状态返回
* Class GetInvoiceStatusResponseData
*/
class GetInvoiceStatusResponseData extends BaseModel implements ResponseDataInterface
{
/**
* 申请结果
* @var string
*/
protected $status;
/**
* 发票张数
* @var int64
*/
protected $count;
/**
* 价税合计
* @var string
*/
protected $price_tax_amount;
/**
* 不含税金额
* @var string
*/
protected $price_amount;
/**
* 税额
* @var string
*/
protected $tax_amount;
/**
* 发票类型
* @var string
*/
protected $invoice_type;
/**
* 购方名称
* @var string
*/
protected $customer_name;
/**
* 纳税人识别号
* @var string
*/
protected $customer_tax_num;
/**
* 购方地址、电话
* @var string
*/
protected $customer_address_tel;
/**
* 开户行及账号
* @var string
*/
protected $bank_name_account;
/**
* 货物或应税劳务、服务名称
* @var string
*/
protected $goods_services_name;
/**
* 发票备注
* @var string
*/
protected $remark;
/**
* 邮寄类型
* @var string
*/
protected $post_type;
/**
* 快递单号
* @var string[]
*/
protected $waybill_number;
/**
* 驳回原因
* @var string
*/
protected $reject_reason;
/**
* 发票介质
* @var string
*/
protected $invoice_media;
/**
* 申请结果
* @var string $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* 申请结果
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* 发票张数
* @var int64 $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* 发票张数
* @return int64
*/
public function getCount()
{
return $this->count;
}
/**
* 价税合计
* @var string $price_tax_amount
*/
public function setPriceTaxAmount($price_tax_amount)
{
$this->price_tax_amount = $price_tax_amount;
}
/**
* 价税合计
* @return string
*/
public function getPriceTaxAmount()
{
return $this->price_tax_amount;
}
/**
* 不含税金额
* @var string $price_amount
*/
public function setPriceAmount($price_amount)
{
$this->price_amount = $price_amount;
}
/**
* 不含税金额
* @return string
*/
public function getPriceAmount()
{
return $this->price_amount;
}
/**
* 税额
* @var string $tax_amount
*/
public function setTaxAmount($tax_amount)
{
$this->tax_amount = $tax_amount;
}
/**
* 税额
* @return string
*/
public function getTaxAmount()
{
return $this->tax_amount;
}
/**
* 发票类型
* @var string $invoice_type
*/
public function setInvoiceType($invoice_type)
{
$this->invoice_type = $invoice_type;
}
/**
* 发票类型
* @return string
*/
public function getInvoiceType()
{
return $this->invoice_type;
}
/**
* 购方名称
* @var string $customer_name
*/
public function setCustomerName($customer_name)
{
$this->customer_name = $customer_name;
}
/**
* 购方名称
* @return string
*/
public function getCustomerName()
{
return $this->customer_name;
}
/**
* 纳税人识别号
* @var string $customer_tax_num
*/
public function setCustomerTaxNum($customer_tax_num)
{
$this->customer_tax_num = $customer_tax_num;
}
/**
* 纳税人识别号
* @return string
*/
public function getCustomerTaxNum()
{
return $this->customer_tax_num;
}
/**
* 购方地址、电话
* @var string $customer_address_tel
*/
public function setCustomerAddressTel($customer_address_tel)
{
$this->customer_address_tel = $customer_address_tel;
}
/**
* 购方地址、电话
* @return string
*/
public function getCustomerAddressTel()
{
return $this->customer_address_tel;
}
/**
* 开户行及账号
* @var string $bank_name_account
*/
public function setBankNameAccount($bank_name_account)
{
$this->bank_name_account = $bank_name_account;
}
/**
* 开户行及账号
* @return string
*/
public function getBankNameAccount()
{
return $this->bank_name_account;
}
/**
* 货物或应税劳务、服务名称
* @var string $goods_services_name
*/
public function setGoodsServicesName($goods_services_name)
{
$this->goods_services_name = $goods_services_name;
}
/**
* 货物或应税劳务、服务名称
* @return string
*/
public function getGoodsServicesName()
{
return $this->goods_services_name;
}
/**
* 发票备注
* @var string $remark
*/
public function setRemark($remark)
{
$this->remark = $remark;
}
/**
* 发票备注
* @return string
*/
public function getRemark()
{
return $this->remark;
}
/**
* 邮寄类型
* @var string $post_type
*/
public function setPostType($post_type)
{
$this->post_type = $post_type;
}
/**
* 邮寄类型
* @return string
*/
public function getPostType()
{
return $this->post_type;
}
/**
* 快递单号
* @var string[] $waybill_number
*/
public function setWaybillNumber($waybill_number)
{
$this->waybill_number = $waybill_number;
}
/**
* 快递单号
* @return string[]
*/
public function getWaybillNumber()
{
return $this->waybill_number;
}
/**
* 驳回原因
* @var string $reject_reason
*/
public function setRejectReason($reject_reason)
{
$this->reject_reason = $reject_reason;
}
/**
* 驳回原因
* @return string
*/
public function getRejectReason()
{
return $this->reject_reason;
}
/**
* 发票介质
* @var string $invoice_media
*/
public function setInvoiceMedia($invoice_media)
{
$this->invoice_media = $invoice_media;
}
/**
* 发票介质
* @return string
*/
public function getInvoiceMedia()
{
return $this->invoice_media;
}
}

View File

@@ -0,0 +1,59 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
/**
* 系统支持的货物或应税劳务、服务名称
* Class GoodsServicesName
*/
class GoodsServicesName extends BaseModel
{
/**
* 货物或应税劳务、服务名称
* @var string
*/
protected $item;
/**
* 是否为默认值
* @var bool
*/
protected $default;
/**
* 货物或应税劳务、服务名称
* @var string $item
*/
public function setItem($item)
{
$this->item = $item;
}
/**
* 货物或应税劳务、服务名称
* @return string
*/
public function getItem()
{
return $this->item;
}
/**
* 是否为默认值
* @var bool $default
*/
public function setDefault($default)
{
$this->default = $default;
}
/**
* 是否为默认值
* @return bool
*/
public function getDefault()
{
return $this->default;
}
}

View File

@@ -0,0 +1,220 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
/**
* 查询发票信息返回
* Class InformationDataInfo
*/
class InformationDataInfo extends BaseModel
{
/**
* 货物或应税劳务、服务名称
* @var string
*/
protected $goods_services_name;
/**
* 发票号码
* @var string
*/
protected $invoice_num;
/**
* 发票代码
* @var string
*/
protected $invoice_code;
/**
* 不含税金额
* @var string
*/
protected $price_amount;
/**
* 税额
* @var string
*/
protected $tax_amount;
/**
* 税率
* @var string
*/
protected $tax_rate;
/**
* 价税合计
* @var string
*/
protected $price_tax_amount;
/**
* 开票日期
* @var string
*/
protected $invoiced_date;
/**
* 发票状态
* @var string
*/
protected $status;
/**
* 货物或应税劳务、服务名称
* @var string $goods_services_name
*/
public function setGoodsServicesName($goods_services_name)
{
$this->goods_services_name = $goods_services_name;
}
/**
* 货物或应税劳务、服务名称
* @return string
*/
public function getGoodsServicesName()
{
return $this->goods_services_name;
}
/**
* 发票号码
* @var string $invoice_num
*/
public function setInvoiceNum($invoice_num)
{
$this->invoice_num = $invoice_num;
}
/**
* 发票号码
* @return string
*/
public function getInvoiceNum()
{
return $this->invoice_num;
}
/**
* 发票代码
* @var string $invoice_code
*/
public function setInvoiceCode($invoice_code)
{
$this->invoice_code = $invoice_code;
}
/**
* 发票代码
* @return string
*/
public function getInvoiceCode()
{
return $this->invoice_code;
}
/**
* 不含税金额
* @var string $price_amount
*/
public function setPriceAmount($price_amount)
{
$this->price_amount = $price_amount;
}
/**
* 不含税金额
* @return string
*/
public function getPriceAmount()
{
return $this->price_amount;
}
/**
* 税额
* @var string $tax_amount
*/
public function setTaxAmount($tax_amount)
{
$this->tax_amount = $tax_amount;
}
/**
* 税额
* @return string
*/
public function getTaxAmount()
{
return $this->tax_amount;
}
/**
* 税率
* @var string $tax_rate
*/
public function setTaxRate($tax_rate)
{
$this->tax_rate = $tax_rate;
}
/**
* 税率
* @return string
*/
public function getTaxRate()
{
return $this->tax_rate;
}
/**
* 价税合计
* @var string $price_tax_amount
*/
public function setPriceTaxAmount($price_tax_amount)
{
$this->price_tax_amount = $price_tax_amount;
}
/**
* 价税合计
* @return string
*/
public function getPriceTaxAmount()
{
return $this->price_tax_amount;
}
/**
* 开票日期
* @var string $invoiced_date
*/
public function setInvoicedDate($invoiced_date)
{
$this->invoiced_date = $invoiced_date;
}
/**
* 开票日期
* @return string
*/
public function getInvoicedDate()
{
return $this->invoiced_date;
}
/**
* 发票状态
* @var string $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* 发票状态
* @return string
*/
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,112 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 发票开具完成通知
* Class NotifyInvoiceDoneRequest
*/
class NotifyInvoiceDoneRequest extends BaseRequest
{
/**
* 发票申请单 ID
* @var string
*/
public $application_id;
/**
* 发票申请编号
* @var string
*/
public $invoice_apply_id;
/**
* 申请结果
* @var string
*/
public $status;
/**
* 发票张数
* @var int32
*/
public $count;
/**
* 价税合计
* @var string
*/
public $price_tax_amount;
/**
* 不含税金额
* @var string
*/
public $price_amount;
/**
* 税额
* @var string
*/
public $tax_amount;
/**
* 发票类型
* @var string
*/
public $invoice_type;
/**
* 购方名称
* @var string
*/
public $customer_name;
/**
* 纳税人识别号
* @var string
*/
public $customer_tax_num;
/**
* 购方地址、电话
* @var string
*/
public $customer_address_tel;
/**
* 开户行及账号
* @var string
*/
public $bank_name_account;
/**
* 货物或应税劳务、服务名称
* @var string
*/
public $goods_services_name;
/**
* 发票备注
* @var string
*/
public $remark;
/**
* 邮寄类型
* @var string
*/
public $post_type;
/**
* 快递单号
* @var string[]
*/
public $waybill_number;
/**
* 驳回原因
* @var string
*/
public $reject_reason;
/**
* 发票介质
* @var string
*/
public $invoice_media;
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseRequest;
/**
* 发送发票开具成功通知邮件请求
* Class SendReminderEmailRequest
*/
class SendReminderEmailRequest 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];
}
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseResponse;
use Yzh\Model\ResponseInterface;
/**
* 发送发票开具成功通知邮件返回
* Class SendReminderEmailResponse
*/
class SendReminderEmailResponse extends BaseResponse implements ResponseInterface
{
/**
* 获取数据对象
* @return SendReminderEmailResponseData
*/
public function getData()
{
return $this->data;
}
/**
* 设置数据对象
* @param array $data
* @return self
*/
public function setData($data)
{
$this->data = new SendReminderEmailResponseData($data);
return $this;
}
}

View File

@@ -0,0 +1,14 @@
<?php
namespace Yzh\Model\Invoice;
use Yzh\Model\BaseModel;
use Yzh\Model\ResponseDataInterface;
/**
* 发送发票开具成功通知邮件返回
* Class SendReminderEmailResponseData
*/
class SendReminderEmailResponseData extends BaseModel implements ResponseDataInterface
{
}