更新
This commit is contained in:
81
extend/Yzh/CalculateLaborServiceClient.php
Normal file
81
extend/Yzh/CalculateLaborServiceClient.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh;
|
||||
|
||||
use Yzh\Exception\ConfigException;
|
||||
use Yzh\Exception\ExceptionCode;
|
||||
|
||||
|
||||
use Yzh\Model\Calculatelabor\LaborCaculatorRequest;
|
||||
use Yzh\Model\Calculatelabor\LaborCaculatorResponse;
|
||||
use Yzh\Model\Calculatelabor\CalcTaxRequest;
|
||||
use Yzh\Model\Calculatelabor\CalcTaxResponse;
|
||||
use Yzh\Model\Calculatelabor\CalculationYearH5UrlRequest;
|
||||
use Yzh\Model\Calculatelabor\CalculationYearH5UrlResponse;
|
||||
use Yzh\Model\Calculatelabor\CalculationH5UrlRequest;
|
||||
use Yzh\Model\Calculatelabor\CalculationH5UrlResponse;
|
||||
|
||||
/**
|
||||
* 连续劳务税费试算
|
||||
* Class CalculateLaborServiceClient
|
||||
*/
|
||||
class CalculateLaborServiceClient extends BaseClient
|
||||
{
|
||||
protected static $service_name = 'calculatelaborservice';
|
||||
|
||||
/**
|
||||
* 连续劳务税费试算(计算器)
|
||||
* @param LaborCaculatorRequest $request
|
||||
* @param null $option
|
||||
* @return LaborCaculatorResponse
|
||||
*/
|
||||
public function laborCaculator($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof LaborCaculatorRequest) {
|
||||
throw new ConfigException("Calculatelabor->laborCaculator request 必须是 Yzh\\Model\\Calculatelabor\\LaborCaculatorRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('POST', '/api/tax/v1/labor-caculator', $request, "Yzh\\Model\\Calculatelabor\\LaborCaculatorResponse", $option);
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单税费试算
|
||||
* @param CalcTaxRequest $request
|
||||
* @param null $option
|
||||
* @return CalcTaxResponse
|
||||
*/
|
||||
public function calcTax($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof CalcTaxRequest) {
|
||||
throw new ConfigException("Calculatelabor->calcTax request 必须是 Yzh\\Model\\Calculatelabor\\CalcTaxRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('POST', '/api/payment/v1/calc-tax', $request, "Yzh\\Model\\Calculatelabor\\CalcTaxResponse", $option);
|
||||
}
|
||||
|
||||
/**
|
||||
* 连续劳务年度税费测算-H5
|
||||
* @param CalculationYearH5UrlRequest $request
|
||||
* @param null $option
|
||||
* @return CalculationYearH5UrlResponse
|
||||
*/
|
||||
public function calculationYearH5Url($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof CalculationYearH5UrlRequest) {
|
||||
throw new ConfigException("Calculatelabor->calculationYearH5Url request 必须是 Yzh\\Model\\Calculatelabor\\CalculationYearH5UrlRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('GET', '/api/labor/service/calculation/year/h5url', $request, "Yzh\\Model\\Calculatelabor\\CalculationYearH5UrlResponse", $option);
|
||||
}
|
||||
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算-H5
|
||||
* @param CalculationH5UrlRequest $request
|
||||
* @param null $option
|
||||
* @return CalculationH5UrlResponse
|
||||
*/
|
||||
public function calculationH5Url($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof CalculationH5UrlRequest) {
|
||||
throw new ConfigException("Calculatelabor->calculationH5Url request 必须是 Yzh\\Model\\Calculatelabor\\CalculationH5UrlRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('GET', '/api/labor/service/calculation/h5url', $request, "Yzh\\Model\\Calculatelabor\\CalculationH5UrlResponse", $option);
|
||||
}
|
||||
}
|
||||
40
extend/Yzh/CustomerLinkClient.php
Normal file
40
extend/Yzh/CustomerLinkClient.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh;
|
||||
|
||||
use Yzh\Utils\Rsa;
|
||||
use Yzh\Utils\Hmac;
|
||||
use Yzh\Utils\MessString;
|
||||
|
||||
/**
|
||||
* 专属客服链接
|
||||
* Class CustomerLinkClient
|
||||
*/
|
||||
class CustomerLinkClient extends BaseClient
|
||||
{
|
||||
/**
|
||||
* 获取客服链接
|
||||
* @return str
|
||||
*/
|
||||
public function getCustomerLink($base_url, $member_id)
|
||||
{
|
||||
|
||||
$mess = MessString::rand(16);
|
||||
$timestamp = time();
|
||||
$signature = "";
|
||||
$encodesign = "";
|
||||
// 签名
|
||||
$signdata = "data=member_id=".$member_id."&mess=".$mess."×tamp=".$timestamp."&key=".$this->config->app_key;
|
||||
|
||||
if ($this->config->sign_type == Config::SIGN_TYPE_RSA) {
|
||||
$signature = $this->rsa->sign($signdata);
|
||||
}else if($this->config->sign_type == Config::SIGN_TYPE_HMAC) {
|
||||
$signature = $this->hmac->sign($signdata);
|
||||
}
|
||||
|
||||
$encodesign = urlencode($signature);
|
||||
|
||||
$url = $base_url."?sign_type=".$this->config->sign_type."&sign=".$encodesign."&member_id=".$member_id."&mess=".$mess."×tamp=".$timestamp;
|
||||
return $url;
|
||||
}
|
||||
}
|
||||
335
extend/Yzh/Model/Calculatelabor/CalcTaxDetail.php
Normal file
335
extend/Yzh/Model/Calculatelabor/CalcTaxDetail.php
Normal file
@@ -0,0 +1,335 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 税费明细
|
||||
* Class CalcTaxDetail
|
||||
*/
|
||||
class CalcTaxDetail extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax;
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $value_added_tax;
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $additional_tax;
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_personal_tax;
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_personal_tax;
|
||||
/**
|
||||
* 云账户预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_personal_tax;
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_value_added_tax;
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_value_added_tax;
|
||||
/**
|
||||
* 云账户预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_value_added_tax;
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $user_additional_tax;
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_additional_tax;
|
||||
/**
|
||||
* 云账户预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_additional_tax;
|
||||
/**
|
||||
* 预扣个税税率
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax_rate;
|
||||
/**
|
||||
* 预扣个税速算扣除数
|
||||
* @var string
|
||||
*/
|
||||
protected $deduct_tax;
|
||||
|
||||
/**
|
||||
* 预扣个税
|
||||
* @var string $personal_tax
|
||||
*/
|
||||
public function setPersonalTax($personal_tax)
|
||||
{
|
||||
$this->personal_tax = $personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTax()
|
||||
{
|
||||
return $this->personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @var string $value_added_tax
|
||||
*/
|
||||
public function setValueAddedTax($value_added_tax)
|
||||
{
|
||||
$this->value_added_tax = $value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getValueAddedTax()
|
||||
{
|
||||
return $this->value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @var string $additional_tax
|
||||
*/
|
||||
public function setAdditionalTax($additional_tax)
|
||||
{
|
||||
$this->additional_tax = $additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getAdditionalTax()
|
||||
{
|
||||
return $this->additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @var string $user_personal_tax
|
||||
*/
|
||||
public function setUserPersonalTax($user_personal_tax)
|
||||
{
|
||||
$this->user_personal_tax = $user_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserPersonalTax()
|
||||
{
|
||||
return $this->user_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @var string $dealer_personal_tax
|
||||
*/
|
||||
public function setDealerPersonalTax($dealer_personal_tax)
|
||||
{
|
||||
$this->dealer_personal_tax = $dealer_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerPersonalTax()
|
||||
{
|
||||
return $this->dealer_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户预扣个税
|
||||
* @var string $broker_personal_tax
|
||||
*/
|
||||
public function setBrokerPersonalTax($broker_personal_tax)
|
||||
{
|
||||
$this->broker_personal_tax = $broker_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerPersonalTax()
|
||||
{
|
||||
return $this->broker_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @var string $user_value_added_tax
|
||||
*/
|
||||
public function setUserValueAddedTax($user_value_added_tax)
|
||||
{
|
||||
$this->user_value_added_tax = $user_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserValueAddedTax()
|
||||
{
|
||||
return $this->user_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @var string $dealer_value_added_tax
|
||||
*/
|
||||
public function setDealerValueAddedTax($dealer_value_added_tax)
|
||||
{
|
||||
$this->dealer_value_added_tax = $dealer_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerValueAddedTax()
|
||||
{
|
||||
return $this->dealer_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户预扣增值税
|
||||
* @var string $broker_value_added_tax
|
||||
*/
|
||||
public function setBrokerValueAddedTax($broker_value_added_tax)
|
||||
{
|
||||
$this->broker_value_added_tax = $broker_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerValueAddedTax()
|
||||
{
|
||||
return $this->broker_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @var string $user_additional_tax
|
||||
*/
|
||||
public function setUserAdditionalTax($user_additional_tax)
|
||||
{
|
||||
$this->user_additional_tax = $user_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getUserAdditionalTax()
|
||||
{
|
||||
return $this->user_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @var string $dealer_additional_tax
|
||||
*/
|
||||
public function setDealerAdditionalTax($dealer_additional_tax)
|
||||
{
|
||||
$this->dealer_additional_tax = $dealer_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerAdditionalTax()
|
||||
{
|
||||
return $this->dealer_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户预扣附加税费
|
||||
* @var string $broker_additional_tax
|
||||
*/
|
||||
public function setBrokerAdditionalTax($broker_additional_tax)
|
||||
{
|
||||
$this->broker_additional_tax = $broker_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerAdditionalTax()
|
||||
{
|
||||
return $this->broker_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税税率
|
||||
* @var string $personal_tax_rate
|
||||
*/
|
||||
public function setPersonalTaxRate($personal_tax_rate)
|
||||
{
|
||||
$this->personal_tax_rate = $personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税税率
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTaxRate()
|
||||
{
|
||||
return $this->personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税速算扣除数
|
||||
* @var string $deduct_tax
|
||||
*/
|
||||
public function setDeductTax($deduct_tax)
|
||||
{
|
||||
$this->deduct_tax = $deduct_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税速算扣除数
|
||||
* @return string
|
||||
*/
|
||||
public function getDeductTax()
|
||||
{
|
||||
return $this->deduct_tax;
|
||||
}
|
||||
}
|
||||
52
extend/Yzh/Model/Calculatelabor/CalcTaxRequest.php
Normal file
52
extend/Yzh/Model/Calculatelabor/CalcTaxRequest.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 订单税费试算请求
|
||||
* Class CalcTaxRequest
|
||||
*/
|
||||
class CalcTaxRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 测算金额
|
||||
* @var string
|
||||
*/
|
||||
public $pay;
|
||||
/**
|
||||
* 测算类型
|
||||
* @var string
|
||||
*/
|
||||
public $tax_type;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Calculatelabor/CalcTaxResponse.php
Normal file
33
extend/Yzh/Model/Calculatelabor/CalcTaxResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 订单税费试算返回
|
||||
* Class CalcTaxResponse
|
||||
*/
|
||||
class CalcTaxResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return CalcTaxResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new CalcTaxResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
405
extend/Yzh/Model/Calculatelabor/CalcTaxResponseData.php
Normal file
405
extend/Yzh/Model/Calculatelabor/CalcTaxResponseData.php
Normal file
@@ -0,0 +1,405 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 订单税费试算返回
|
||||
* Class CalcTaxResponseData
|
||||
*/
|
||||
class CalcTaxResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 测算金额
|
||||
* @var string
|
||||
*/
|
||||
protected $pay;
|
||||
/**
|
||||
* 税费总额
|
||||
* @var string
|
||||
*/
|
||||
protected $tax;
|
||||
/**
|
||||
* 税后结算金额
|
||||
* @var string
|
||||
*/
|
||||
protected $after_tax_amount;
|
||||
/**
|
||||
* 缴税明细
|
||||
* @var CalcTaxDetail
|
||||
*/
|
||||
protected $tax_detail;
|
||||
/**
|
||||
* 税前订单金额
|
||||
* @var string
|
||||
*/
|
||||
protected $before_tax_amount;
|
||||
/**
|
||||
* 用户税费总额
|
||||
* @var string
|
||||
*/
|
||||
protected $user_tax;
|
||||
/**
|
||||
* 平台企业税费总额
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_tax;
|
||||
/**
|
||||
* 云账户税费总额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_tax;
|
||||
/**
|
||||
* 用户服务费
|
||||
* @var string
|
||||
*/
|
||||
protected $user_fee;
|
||||
/**
|
||||
* 结果
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
/**
|
||||
* 结果详细状态码
|
||||
* @var string
|
||||
*/
|
||||
protected $status_detail;
|
||||
/**
|
||||
* 结果说明
|
||||
* @var string
|
||||
*/
|
||||
protected $status_message;
|
||||
/**
|
||||
* 结果详细状态码描述
|
||||
* @var string
|
||||
*/
|
||||
protected $status_detail_message;
|
||||
/**
|
||||
* 用户实收金额(未扣除追缴的增附税)
|
||||
* @var string
|
||||
*/
|
||||
protected $user_real_excluding_vat_amount;
|
||||
/**
|
||||
* 用户还未缴清的增附税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_remaining_repayment_amount;
|
||||
/**
|
||||
* 已追缴增附税(本笔订单)
|
||||
* @var string
|
||||
*/
|
||||
protected $user_recover_tax_amount;
|
||||
/**
|
||||
* 待追缴增附税总金额
|
||||
* @var string
|
||||
*/
|
||||
protected $user_total_recover_tax_amount;
|
||||
|
||||
/**
|
||||
* 测算金额
|
||||
* @var string $pay
|
||||
*/
|
||||
public function setPay($pay)
|
||||
{
|
||||
$this->pay = $pay;
|
||||
}
|
||||
|
||||
/**
|
||||
* 测算金额
|
||||
* @return string
|
||||
*/
|
||||
public function getPay()
|
||||
{
|
||||
return $this->pay;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税费总额
|
||||
* @var string $tax
|
||||
*/
|
||||
public function setTax($tax)
|
||||
{
|
||||
$this->tax = $tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税费总额
|
||||
* @return string
|
||||
*/
|
||||
public function getTax()
|
||||
{
|
||||
return $this->tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税后结算金额
|
||||
* @var string $after_tax_amount
|
||||
*/
|
||||
public function setAfterTaxAmount($after_tax_amount)
|
||||
{
|
||||
$this->after_tax_amount = $after_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税后结算金额
|
||||
* @return string
|
||||
*/
|
||||
public function getAfterTaxAmount()
|
||||
{
|
||||
return $this->after_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* @var CalcTaxDetail $tax_detail
|
||||
*/
|
||||
public function setTaxDetail($tax_detail)
|
||||
{
|
||||
$this->tax_detail = $tax_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* @return CalcTaxDetail
|
||||
*/
|
||||
public function getTaxDetail()
|
||||
{
|
||||
return $this->tax_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税前订单金额
|
||||
* @var string $before_tax_amount
|
||||
*/
|
||||
public function setBeforeTaxAmount($before_tax_amount)
|
||||
{
|
||||
$this->before_tax_amount = $before_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税前订单金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBeforeTaxAmount()
|
||||
{
|
||||
return $this->before_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户税费总额
|
||||
* @var string $user_tax
|
||||
*/
|
||||
public function setUserTax($user_tax)
|
||||
{
|
||||
$this->user_tax = $user_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户税费总额
|
||||
* @return string
|
||||
*/
|
||||
public function getUserTax()
|
||||
{
|
||||
return $this->user_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业税费总额
|
||||
* @var string $dealer_tax
|
||||
*/
|
||||
public function setDealerTax($dealer_tax)
|
||||
{
|
||||
$this->dealer_tax = $dealer_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业税费总额
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerTax()
|
||||
{
|
||||
return $this->dealer_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户税费总额
|
||||
* @var string $broker_tax
|
||||
*/
|
||||
public function setBrokerTax($broker_tax)
|
||||
{
|
||||
$this->broker_tax = $broker_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 云账户税费总额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerTax()
|
||||
{
|
||||
return $this->broker_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户服务费
|
||||
* @var string $user_fee
|
||||
*/
|
||||
public function setUserFee($user_fee)
|
||||
{
|
||||
$this->user_fee = $user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户服务费
|
||||
* @return string
|
||||
*/
|
||||
public function getUserFee()
|
||||
{
|
||||
return $this->user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果
|
||||
* @var string $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果详细状态码
|
||||
* @var string $status_detail
|
||||
*/
|
||||
public function setStatusDetail($status_detail)
|
||||
{
|
||||
$this->status_detail = $status_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果详细状态码
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusDetail()
|
||||
{
|
||||
return $this->status_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果说明
|
||||
* @var string $status_message
|
||||
*/
|
||||
public function setStatusMessage($status_message)
|
||||
{
|
||||
$this->status_message = $status_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果说明
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusMessage()
|
||||
{
|
||||
return $this->status_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果详细状态码描述
|
||||
* @var string $status_detail_message
|
||||
*/
|
||||
public function setStatusDetailMessage($status_detail_message)
|
||||
{
|
||||
$this->status_detail_message = $status_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 结果详细状态码描述
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusDetailMessage()
|
||||
{
|
||||
return $this->status_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额(未扣除追缴的增附税)
|
||||
* @var string $user_real_excluding_vat_amount
|
||||
*/
|
||||
public function setUserRealExcludingVatAmount($user_real_excluding_vat_amount)
|
||||
{
|
||||
$this->user_real_excluding_vat_amount = $user_real_excluding_vat_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额(未扣除追缴的增附税)
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRealExcludingVatAmount()
|
||||
{
|
||||
return $this->user_real_excluding_vat_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户还未缴清的增附税
|
||||
* @var string $user_remaining_repayment_amount
|
||||
*/
|
||||
public function setUserRemainingRepaymentAmount($user_remaining_repayment_amount)
|
||||
{
|
||||
$this->user_remaining_repayment_amount = $user_remaining_repayment_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户还未缴清的增附税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRemainingRepaymentAmount()
|
||||
{
|
||||
return $this->user_remaining_repayment_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 已追缴增附税(本笔订单)
|
||||
* @var string $user_recover_tax_amount
|
||||
*/
|
||||
public function setUserRecoverTaxAmount($user_recover_tax_amount)
|
||||
{
|
||||
$this->user_recover_tax_amount = $user_recover_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 已追缴增附税(本笔订单)
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRecoverTaxAmount()
|
||||
{
|
||||
return $this->user_recover_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 待追缴增附税总金额
|
||||
* @var string $user_total_recover_tax_amount
|
||||
*/
|
||||
public function setUserTotalRecoverTaxAmount($user_total_recover_tax_amount)
|
||||
{
|
||||
$this->user_total_recover_tax_amount = $user_total_recover_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 待追缴增附税总金额
|
||||
* @return string
|
||||
*/
|
||||
public function getUserTotalRecoverTaxAmount()
|
||||
{
|
||||
return $this->user_total_recover_tax_amount;
|
||||
}
|
||||
}
|
||||
47
extend/Yzh/Model/Calculatelabor/CalculationH5UrlRequest.php
Normal file
47
extend/Yzh/Model/Calculatelabor/CalculationH5UrlRequest.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算-H5 请求
|
||||
* Class CalculationH5UrlRequest
|
||||
*/
|
||||
class CalculationH5UrlRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 主题颜色
|
||||
* @var string
|
||||
*/
|
||||
public $color;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponse.php
Normal file
33
extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算-H5 返回
|
||||
* Class CalculationH5UrlResponse
|
||||
*/
|
||||
class CalculationH5UrlResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return CalculationH5UrlResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new CalculationH5UrlResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算-H5 返回
|
||||
* Class CalculationH5UrlResponseData
|
||||
*/
|
||||
class CalculationH5UrlResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算 H5 页面 URL
|
||||
* @var string
|
||||
*/
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算 H5 页面 URL
|
||||
* @var string $url
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* 连续劳务单笔结算税费测算 H5 页面 URL
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 连续劳务年度税费测算-H5 请求
|
||||
* Class CalculationYearH5UrlRequest
|
||||
*/
|
||||
class CalculationYearH5UrlRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 主题颜色
|
||||
* @var string
|
||||
*/
|
||||
public $color;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 连续劳务年度税费测算-H5 返回
|
||||
* Class CalculationYearH5UrlResponse
|
||||
*/
|
||||
class CalculationYearH5UrlResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return CalculationYearH5UrlResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new CalculationYearH5UrlResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 连续劳务年度税费测算-H5 返回
|
||||
* Class CalculationYearH5UrlResponseData
|
||||
*/
|
||||
class CalculationYearH5UrlResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 年度劳务测算 H5 页面 URL
|
||||
* @var string
|
||||
*/
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
* 年度劳务测算 H5 页面 URL
|
||||
* @var string $url
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* 年度劳务测算 H5 页面 URL
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
37
extend/Yzh/Model/Calculatelabor/LaborCaculatorRequest.php
Normal file
37
extend/Yzh/Model/Calculatelabor/LaborCaculatorRequest.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 连续劳务税费试算(计算器)请求
|
||||
* Class LaborCaculatorRequest
|
||||
*/
|
||||
class LaborCaculatorRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 月度收入列表
|
||||
* @var MonthSettlement[]
|
||||
*/
|
||||
public $month_settlement_list;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Calculatelabor/LaborCaculatorResponse.php
Normal file
33
extend/Yzh/Model/Calculatelabor/LaborCaculatorResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 连续劳务税费试算(计算器)返回
|
||||
* Class LaborCaculatorResponse
|
||||
*/
|
||||
class LaborCaculatorResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return LaborCaculatorResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new LaborCaculatorResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 连续劳务税费试算(计算器)返回
|
||||
* Class LaborCaculatorResponseData
|
||||
*/
|
||||
class LaborCaculatorResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 综合所得汇算清缴
|
||||
* @var YearTaxInfo
|
||||
*/
|
||||
protected $year_tax_info;
|
||||
/**
|
||||
* 月度税务信息列表
|
||||
* @var MontTax[]
|
||||
*/
|
||||
protected $month_tax_list;
|
||||
|
||||
/**
|
||||
* 综合所得汇算清缴
|
||||
* @var YearTaxInfo $year_tax_info
|
||||
*/
|
||||
public function setYearTaxInfo($year_tax_info)
|
||||
{
|
||||
$this->year_tax_info = $year_tax_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合所得汇算清缴
|
||||
* @return YearTaxInfo
|
||||
*/
|
||||
public function getYearTaxInfo()
|
||||
{
|
||||
return $this->year_tax_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* @var array $items
|
||||
*/
|
||||
public function setMonthTaxList($items)
|
||||
{
|
||||
$this->month_tax_list = array();
|
||||
foreach ($items as $k => $v) {
|
||||
array_push($this->month_tax_list, new MontTax($v));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 月度税务信息列表
|
||||
* @return MontTax[]
|
||||
*/
|
||||
public function getMonthTaxList()
|
||||
{
|
||||
return $this->month_tax_list;
|
||||
}
|
||||
}
|
||||
243
extend/Yzh/Model/Calculatelabor/MontTax.php
Normal file
243
extend/Yzh/Model/Calculatelabor/MontTax.php
Normal file
@@ -0,0 +1,243 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 月度税务信息
|
||||
* Class MontTax
|
||||
*/
|
||||
class MontTax extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 月份
|
||||
* @var int32
|
||||
*/
|
||||
protected $month;
|
||||
/**
|
||||
* 含增值税收入
|
||||
* @var string
|
||||
*/
|
||||
protected $pre_tax_amount;
|
||||
/**
|
||||
* 不含增值税收入
|
||||
* @var string
|
||||
*/
|
||||
protected $excluding_vat_amount;
|
||||
/**
|
||||
* 增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $value_added_tax;
|
||||
/**
|
||||
* 附加税
|
||||
* @var string
|
||||
*/
|
||||
protected $additional_tax;
|
||||
/**
|
||||
* 个税
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax;
|
||||
/**
|
||||
* 个税税率
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax_rate;
|
||||
/**
|
||||
* 速算扣除数
|
||||
* @var string
|
||||
*/
|
||||
protected $deduct_tax;
|
||||
/**
|
||||
* 税后金额
|
||||
* @var string
|
||||
*/
|
||||
protected $post_tax_amount;
|
||||
/**
|
||||
* 税负率
|
||||
* @var string
|
||||
*/
|
||||
protected $total_tax_rate;
|
||||
|
||||
/**
|
||||
* 月份
|
||||
* @var int32 $month
|
||||
*/
|
||||
public function setMonth($month)
|
||||
{
|
||||
$this->month = $month;
|
||||
}
|
||||
|
||||
/**
|
||||
* 月份
|
||||
* @return int32
|
||||
*/
|
||||
public function getMonth()
|
||||
{
|
||||
return $this->month;
|
||||
}
|
||||
|
||||
/**
|
||||
* 含增值税收入
|
||||
* @var string $pre_tax_amount
|
||||
*/
|
||||
public function setPreTaxAmount($pre_tax_amount)
|
||||
{
|
||||
$this->pre_tax_amount = $pre_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 含增值税收入
|
||||
* @return string
|
||||
*/
|
||||
public function getPreTaxAmount()
|
||||
{
|
||||
return $this->pre_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 不含增值税收入
|
||||
* @var string $excluding_vat_amount
|
||||
*/
|
||||
public function setExcludingVatAmount($excluding_vat_amount)
|
||||
{
|
||||
$this->excluding_vat_amount = $excluding_vat_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 不含增值税收入
|
||||
* @return string
|
||||
*/
|
||||
public function getExcludingVatAmount()
|
||||
{
|
||||
return $this->excluding_vat_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 增值税
|
||||
* @var string $value_added_tax
|
||||
*/
|
||||
public function setValueAddedTax($value_added_tax)
|
||||
{
|
||||
$this->value_added_tax = $value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getValueAddedTax()
|
||||
{
|
||||
return $this->value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 附加税
|
||||
* @var string $additional_tax
|
||||
*/
|
||||
public function setAdditionalTax($additional_tax)
|
||||
{
|
||||
$this->additional_tax = $additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 附加税
|
||||
* @return string
|
||||
*/
|
||||
public function getAdditionalTax()
|
||||
{
|
||||
return $this->additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 个税
|
||||
* @var string $personal_tax
|
||||
*/
|
||||
public function setPersonalTax($personal_tax)
|
||||
{
|
||||
$this->personal_tax = $personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 个税
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTax()
|
||||
{
|
||||
return $this->personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 个税税率
|
||||
* @var string $personal_tax_rate
|
||||
*/
|
||||
public function setPersonalTaxRate($personal_tax_rate)
|
||||
{
|
||||
$this->personal_tax_rate = $personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 个税税率
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTaxRate()
|
||||
{
|
||||
return $this->personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 速算扣除数
|
||||
* @var string $deduct_tax
|
||||
*/
|
||||
public function setDeductTax($deduct_tax)
|
||||
{
|
||||
$this->deduct_tax = $deduct_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 速算扣除数
|
||||
* @return string
|
||||
*/
|
||||
public function getDeductTax()
|
||||
{
|
||||
return $this->deduct_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税后金额
|
||||
* @var string $post_tax_amount
|
||||
*/
|
||||
public function setPostTaxAmount($post_tax_amount)
|
||||
{
|
||||
$this->post_tax_amount = $post_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税后金额
|
||||
* @return string
|
||||
*/
|
||||
public function getPostTaxAmount()
|
||||
{
|
||||
return $this->post_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税负率
|
||||
* @var string $total_tax_rate
|
||||
*/
|
||||
public function setTotalTaxRate($total_tax_rate)
|
||||
{
|
||||
$this->total_tax_rate = $total_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税负率
|
||||
* @return string
|
||||
*/
|
||||
public function getTotalTaxRate()
|
||||
{
|
||||
return $this->total_tax_rate;
|
||||
}
|
||||
}
|
||||
59
extend/Yzh/Model/Calculatelabor/MonthSettlement.php
Normal file
59
extend/Yzh/Model/Calculatelabor/MonthSettlement.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 月度收入
|
||||
* Class MonthSettlement
|
||||
*/
|
||||
class MonthSettlement extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 月份
|
||||
* @var int32
|
||||
*/
|
||||
protected $month;
|
||||
/**
|
||||
* 月度收入
|
||||
* @var string
|
||||
*/
|
||||
protected $month_pre_tax_amount;
|
||||
|
||||
/**
|
||||
* 月份
|
||||
* @var int32 $month
|
||||
*/
|
||||
public function setMonth($month)
|
||||
{
|
||||
$this->month = $month;
|
||||
}
|
||||
|
||||
/**
|
||||
* 月份
|
||||
* @return int32
|
||||
*/
|
||||
public function getMonth()
|
||||
{
|
||||
return $this->month;
|
||||
}
|
||||
|
||||
/**
|
||||
* 月度收入
|
||||
* @var string $month_pre_tax_amount
|
||||
*/
|
||||
public function setMonthPreTaxAmount($month_pre_tax_amount)
|
||||
{
|
||||
$this->month_pre_tax_amount = $month_pre_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 月度收入
|
||||
* @return string
|
||||
*/
|
||||
public function getMonthPreTaxAmount()
|
||||
{
|
||||
return $this->month_pre_tax_amount;
|
||||
}
|
||||
}
|
||||
151
extend/Yzh/Model/Calculatelabor/YearTaxInfo.php
Normal file
151
extend/Yzh/Model/Calculatelabor/YearTaxInfo.php
Normal file
@@ -0,0 +1,151 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Calculatelabor;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 综合所得汇算清缴信息
|
||||
* Class YearTaxInfo
|
||||
*/
|
||||
class YearTaxInfo extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 连续劳务年度个税
|
||||
* @var string
|
||||
*/
|
||||
protected $continuous_month_personal_tax;
|
||||
/**
|
||||
* 综合所得汇算清缴年度个税
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax;
|
||||
/**
|
||||
* 年度扣除费用
|
||||
* @var string
|
||||
*/
|
||||
protected $deduct_cost;
|
||||
/**
|
||||
* 个税税率
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax_rate;
|
||||
/**
|
||||
* 速算扣除数
|
||||
* @var string
|
||||
*/
|
||||
protected $deduct_tax;
|
||||
/**
|
||||
* 税负率
|
||||
* @var string
|
||||
*/
|
||||
protected $total_tax_rate;
|
||||
|
||||
/**
|
||||
* 连续劳务年度个税
|
||||
* @var string $continuous_month_personal_tax
|
||||
*/
|
||||
public function setContinuousMonthPersonalTax($continuous_month_personal_tax)
|
||||
{
|
||||
$this->continuous_month_personal_tax = $continuous_month_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 连续劳务年度个税
|
||||
* @return string
|
||||
*/
|
||||
public function getContinuousMonthPersonalTax()
|
||||
{
|
||||
return $this->continuous_month_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合所得汇算清缴年度个税
|
||||
* @var string $personal_tax
|
||||
*/
|
||||
public function setPersonalTax($personal_tax)
|
||||
{
|
||||
$this->personal_tax = $personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合所得汇算清缴年度个税
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTax()
|
||||
{
|
||||
return $this->personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 年度扣除费用
|
||||
* @var string $deduct_cost
|
||||
*/
|
||||
public function setDeductCost($deduct_cost)
|
||||
{
|
||||
$this->deduct_cost = $deduct_cost;
|
||||
}
|
||||
|
||||
/**
|
||||
* 年度扣除费用
|
||||
* @return string
|
||||
*/
|
||||
public function getDeductCost()
|
||||
{
|
||||
return $this->deduct_cost;
|
||||
}
|
||||
|
||||
/**
|
||||
* 个税税率
|
||||
* @var string $personal_tax_rate
|
||||
*/
|
||||
public function setPersonalTaxRate($personal_tax_rate)
|
||||
{
|
||||
$this->personal_tax_rate = $personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 个税税率
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTaxRate()
|
||||
{
|
||||
return $this->personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 速算扣除数
|
||||
* @var string $deduct_tax
|
||||
*/
|
||||
public function setDeductTax($deduct_tax)
|
||||
{
|
||||
$this->deduct_tax = $deduct_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 速算扣除数
|
||||
* @return string
|
||||
*/
|
||||
public function getDeductTax()
|
||||
{
|
||||
return $this->deduct_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税负率
|
||||
* @var string $total_tax_rate
|
||||
*/
|
||||
public function setTotalTaxRate($total_tax_rate)
|
||||
{
|
||||
$this->total_tax_rate = $total_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 税负率
|
||||
* @return string
|
||||
*/
|
||||
public function getTotalTaxRate()
|
||||
{
|
||||
return $this->total_tax_rate;
|
||||
}
|
||||
}
|
||||
427
extend/Yzh/Model/Dataservice/OrderTaxDetail.php
Normal file
427
extend/Yzh/Model/Dataservice/OrderTaxDetail.php
Normal file
@@ -0,0 +1,427 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Dataservice;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* Class OrderTaxDetail
|
||||
*/
|
||||
class OrderTaxDetail extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax;
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $value_added_tax;
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $additional_tax;
|
||||
/**
|
||||
* 实缴个税
|
||||
* @var string
|
||||
*/
|
||||
protected $received_personal_tax;
|
||||
/**
|
||||
* 实缴增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $received_value_added_tax;
|
||||
/**
|
||||
* 实缴附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $received_additional_tax;
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_personal_tax;
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_personal_tax;
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_value_added_tax;
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_value_added_tax;
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $user_additional_tax;
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_additional_tax;
|
||||
/**
|
||||
* 用户实缴个税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_received_personal_tax;
|
||||
/**
|
||||
* 平台企业实缴个税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_received_personal_tax;
|
||||
/**
|
||||
* 用户实缴增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_received_value_added_tax;
|
||||
/**
|
||||
* 平台企业实缴增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_received_value_added_tax;
|
||||
/**
|
||||
* 用户实缴附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $user_received_additional_tax;
|
||||
/**
|
||||
* 平台企业实缴附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_received_additional_tax;
|
||||
|
||||
/**
|
||||
* 预扣个税
|
||||
* @var string $personal_tax
|
||||
*/
|
||||
public function setPersonalTax($personal_tax)
|
||||
{
|
||||
$this->personal_tax = $personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTax()
|
||||
{
|
||||
return $this->personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @var string $value_added_tax
|
||||
*/
|
||||
public function setValueAddedTax($value_added_tax)
|
||||
{
|
||||
$this->value_added_tax = $value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getValueAddedTax()
|
||||
{
|
||||
return $this->value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @var string $additional_tax
|
||||
*/
|
||||
public function setAdditionalTax($additional_tax)
|
||||
{
|
||||
$this->additional_tax = $additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getAdditionalTax()
|
||||
{
|
||||
return $this->additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴个税
|
||||
* @var string $received_personal_tax
|
||||
*/
|
||||
public function setReceivedPersonalTax($received_personal_tax)
|
||||
{
|
||||
$this->received_personal_tax = $received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴个税
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedPersonalTax()
|
||||
{
|
||||
return $this->received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴增值税
|
||||
* @var string $received_value_added_tax
|
||||
*/
|
||||
public function setReceivedValueAddedTax($received_value_added_tax)
|
||||
{
|
||||
$this->received_value_added_tax = $received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedValueAddedTax()
|
||||
{
|
||||
return $this->received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴附加税费
|
||||
* @var string $received_additional_tax
|
||||
*/
|
||||
public function setReceivedAdditionalTax($received_additional_tax)
|
||||
{
|
||||
$this->received_additional_tax = $received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedAdditionalTax()
|
||||
{
|
||||
return $this->received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @var string $user_personal_tax
|
||||
*/
|
||||
public function setUserPersonalTax($user_personal_tax)
|
||||
{
|
||||
$this->user_personal_tax = $user_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserPersonalTax()
|
||||
{
|
||||
return $this->user_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @var string $dealer_personal_tax
|
||||
*/
|
||||
public function setDealerPersonalTax($dealer_personal_tax)
|
||||
{
|
||||
$this->dealer_personal_tax = $dealer_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerPersonalTax()
|
||||
{
|
||||
return $this->dealer_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @var string $user_value_added_tax
|
||||
*/
|
||||
public function setUserValueAddedTax($user_value_added_tax)
|
||||
{
|
||||
$this->user_value_added_tax = $user_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserValueAddedTax()
|
||||
{
|
||||
return $this->user_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @var string $dealer_value_added_tax
|
||||
*/
|
||||
public function setDealerValueAddedTax($dealer_value_added_tax)
|
||||
{
|
||||
$this->dealer_value_added_tax = $dealer_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerValueAddedTax()
|
||||
{
|
||||
return $this->dealer_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @var string $user_additional_tax
|
||||
*/
|
||||
public function setUserAdditionalTax($user_additional_tax)
|
||||
{
|
||||
$this->user_additional_tax = $user_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getUserAdditionalTax()
|
||||
{
|
||||
return $this->user_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @var string $dealer_additional_tax
|
||||
*/
|
||||
public function setDealerAdditionalTax($dealer_additional_tax)
|
||||
{
|
||||
$this->dealer_additional_tax = $dealer_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerAdditionalTax()
|
||||
{
|
||||
return $this->dealer_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴个税
|
||||
* @var string $user_received_personal_tax
|
||||
*/
|
||||
public function setUserReceivedPersonalTax($user_received_personal_tax)
|
||||
{
|
||||
$this->user_received_personal_tax = $user_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴个税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserReceivedPersonalTax()
|
||||
{
|
||||
return $this->user_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴个税
|
||||
* @var string $dealer_received_personal_tax
|
||||
*/
|
||||
public function setDealerReceivedPersonalTax($dealer_received_personal_tax)
|
||||
{
|
||||
$this->dealer_received_personal_tax = $dealer_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴个税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerReceivedPersonalTax()
|
||||
{
|
||||
return $this->dealer_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴增值税
|
||||
* @var string $user_received_value_added_tax
|
||||
*/
|
||||
public function setUserReceivedValueAddedTax($user_received_value_added_tax)
|
||||
{
|
||||
$this->user_received_value_added_tax = $user_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserReceivedValueAddedTax()
|
||||
{
|
||||
return $this->user_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴增值税
|
||||
* @var string $dealer_received_value_added_tax
|
||||
*/
|
||||
public function setDealerReceivedValueAddedTax($dealer_received_value_added_tax)
|
||||
{
|
||||
$this->dealer_received_value_added_tax = $dealer_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerReceivedValueAddedTax()
|
||||
{
|
||||
return $this->dealer_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴附加税费
|
||||
* @var string $user_received_additional_tax
|
||||
*/
|
||||
public function setUserReceivedAdditionalTax($user_received_additional_tax)
|
||||
{
|
||||
$this->user_received_additional_tax = $user_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getUserReceivedAdditionalTax()
|
||||
{
|
||||
return $this->user_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴附加税费
|
||||
* @var string $dealer_received_additional_tax
|
||||
*/
|
||||
public function setDealerReceivedAdditionalTax($dealer_received_additional_tax)
|
||||
{
|
||||
$this->dealer_received_additional_tax = $dealer_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerReceivedAdditionalTax()
|
||||
{
|
||||
return $this->dealer_received_additional_tax;
|
||||
}
|
||||
}
|
||||
37
extend/Yzh/Model/Payment/GetOrderLxlwRequest.php
Normal file
37
extend/Yzh/Model/Payment/GetOrderLxlwRequest.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 查询劳务模式单笔订单信息请求
|
||||
* Class GetOrderLxlwRequest
|
||||
*/
|
||||
class GetOrderLxlwRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @var string
|
||||
*/
|
||||
public $order_id;
|
||||
/**
|
||||
* 支付路径
|
||||
* @var string
|
||||
*/
|
||||
public $channel;
|
||||
/**
|
||||
* 数据类型
|
||||
* @var string
|
||||
*/
|
||||
public $data_type;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Payment/GetOrderLxlwResponse.php
Normal file
33
extend/Yzh/Model/Payment/GetOrderLxlwResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 查询劳务模式单笔订单信息返回
|
||||
* Class GetOrderLxlwResponse
|
||||
*/
|
||||
class GetOrderLxlwResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetOrderLxlwResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetOrderLxlwResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
1003
extend/Yzh/Model/Payment/GetOrderLxlwResponseData.php
Normal file
1003
extend/Yzh/Model/Payment/GetOrderLxlwResponseData.php
Normal file
File diff suppressed because it is too large
Load Diff
749
extend/Yzh/Model/Payment/NotifyOrderLxlwData copy.php
Normal file
749
extend/Yzh/Model/Payment/NotifyOrderLxlwData copy.php
Normal file
@@ -0,0 +1,749 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 劳务模式订单支付状态回调通知数据
|
||||
* Class NotifyOrderLxlwData
|
||||
*/
|
||||
class NotifyOrderLxlwData extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @var string
|
||||
*/
|
||||
protected $order_id;
|
||||
/**
|
||||
* 订单金额
|
||||
* @var string
|
||||
*/
|
||||
protected $pay;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_id;
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
protected $real_name;
|
||||
/**
|
||||
* 收款人账号
|
||||
* @var string
|
||||
*/
|
||||
protected $card_no;
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
protected $id_card;
|
||||
/**
|
||||
* 手机号
|
||||
* @var string
|
||||
*/
|
||||
protected $phone_no;
|
||||
/**
|
||||
* 订单状态码
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
/**
|
||||
* 订单详情状态码
|
||||
* @var string
|
||||
*/
|
||||
protected $status_detail;
|
||||
/**
|
||||
* 订单状态码描述
|
||||
* @var string
|
||||
*/
|
||||
protected $status_message;
|
||||
/**
|
||||
* 订单详情状态码描述
|
||||
* @var string
|
||||
*/
|
||||
protected $status_detail_message;
|
||||
/**
|
||||
* 订单状态补充信息
|
||||
* @var string
|
||||
*/
|
||||
protected $supplemental_detail_message;
|
||||
/**
|
||||
* 综合服务主体支付金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_amount;
|
||||
/**
|
||||
* 综合服务平台流水号
|
||||
* @var string
|
||||
*/
|
||||
protected $ref;
|
||||
/**
|
||||
* 支付交易流水号
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_bank_bill;
|
||||
/**
|
||||
* 支付路径
|
||||
* @var string
|
||||
*/
|
||||
protected $withdraw_platform;
|
||||
/**
|
||||
* 订单接收时间,精确到秒
|
||||
* @var string
|
||||
*/
|
||||
protected $created_at;
|
||||
/**
|
||||
* 订单完成时间,精确到秒
|
||||
* @var string
|
||||
*/
|
||||
protected $finished_time;
|
||||
/**
|
||||
* 应收综合服务主体加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_fee;
|
||||
/**
|
||||
* 应收余额账户支出加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_real_fee;
|
||||
/**
|
||||
* 应收加成服务费抵扣金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_deduct_fee;
|
||||
/**
|
||||
* 应收用户加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $user_fee;
|
||||
/**
|
||||
* 实收综合服务主体加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_broker_fee;
|
||||
/**
|
||||
* 实收余额账户支出加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_broker_real_fee;
|
||||
/**
|
||||
* 实收加成服务费抵扣金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_broker_deduct_fee;
|
||||
/**
|
||||
* 实收用户加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_user_fee;
|
||||
/**
|
||||
* 订单备注
|
||||
* @var string
|
||||
*/
|
||||
protected $pay_remark;
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string
|
||||
*/
|
||||
protected $bank_name;
|
||||
/**
|
||||
* 业务线标识
|
||||
* @var string
|
||||
*/
|
||||
protected $project_id;
|
||||
/**
|
||||
* 用户实收金额
|
||||
* @var string
|
||||
*/
|
||||
protected $user_real_amount;
|
||||
/**
|
||||
* 缴税明细
|
||||
* @var TaxDetail
|
||||
*/
|
||||
protected $tax_detail;
|
||||
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @var string $order_id
|
||||
*/
|
||||
public function setOrderId($order_id)
|
||||
{
|
||||
$this->order_id = $order_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @return string
|
||||
*/
|
||||
public function getOrderId()
|
||||
{
|
||||
return $this->order_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
* @var string $pay
|
||||
*/
|
||||
public function setPay($pay)
|
||||
{
|
||||
$this->pay = $pay;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
* @return string
|
||||
*/
|
||||
public function getPay()
|
||||
{
|
||||
return $this->pay;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
* @var string $real_name
|
||||
*/
|
||||
public function setRealName($real_name)
|
||||
{
|
||||
$this->real_name = $real_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
* @return string
|
||||
*/
|
||||
public function getRealName()
|
||||
{
|
||||
return $this->real_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收款人账号
|
||||
* @var string $card_no
|
||||
*/
|
||||
public function setCardNo($card_no)
|
||||
{
|
||||
$this->card_no = $card_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收款人账号
|
||||
* @return string
|
||||
*/
|
||||
public function getCardNo()
|
||||
{
|
||||
return $this->card_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string $id_card
|
||||
*/
|
||||
public function setIdCard($id_card)
|
||||
{
|
||||
$this->id_card = $id_card;
|
||||
}
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
* @return string
|
||||
*/
|
||||
public function getIdCard()
|
||||
{
|
||||
return $this->id_card;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
* @var string $phone_no
|
||||
*/
|
||||
public function setPhoneNo($phone_no)
|
||||
{
|
||||
$this->phone_no = $phone_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
* @return string
|
||||
*/
|
||||
public function getPhoneNo()
|
||||
{
|
||||
return $this->phone_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码
|
||||
* @var string $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码
|
||||
* @var string $status_detail
|
||||
*/
|
||||
public function setStatusDetail($status_detail)
|
||||
{
|
||||
$this->status_detail = $status_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusDetail()
|
||||
{
|
||||
return $this->status_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码描述
|
||||
* @var string $status_message
|
||||
*/
|
||||
public function setStatusMessage($status_message)
|
||||
{
|
||||
$this->status_message = $status_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码描述
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusMessage()
|
||||
{
|
||||
return $this->status_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码描述
|
||||
* @var string $status_detail_message
|
||||
*/
|
||||
public function setStatusDetailMessage($status_detail_message)
|
||||
{
|
||||
$this->status_detail_message = $status_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码描述
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusDetailMessage()
|
||||
{
|
||||
return $this->status_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态补充信息
|
||||
* @var string $supplemental_detail_message
|
||||
*/
|
||||
public function setSupplementalDetailMessage($supplemental_detail_message)
|
||||
{
|
||||
$this->supplemental_detail_message = $supplemental_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态补充信息
|
||||
* @return string
|
||||
*/
|
||||
public function getSupplementalDetailMessage()
|
||||
{
|
||||
return $this->supplemental_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体支付金额
|
||||
* @var string $broker_amount
|
||||
*/
|
||||
public function setBrokerAmount($broker_amount)
|
||||
{
|
||||
$this->broker_amount = $broker_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体支付金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerAmount()
|
||||
{
|
||||
return $this->broker_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务平台流水号
|
||||
* @var string $ref
|
||||
*/
|
||||
public function setRef($ref)
|
||||
{
|
||||
$this->ref = $ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务平台流水号
|
||||
* @return string
|
||||
*/
|
||||
public function getRef()
|
||||
{
|
||||
return $this->ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付交易流水号
|
||||
* @var string $broker_bank_bill
|
||||
*/
|
||||
public function setBrokerBankBill($broker_bank_bill)
|
||||
{
|
||||
$this->broker_bank_bill = $broker_bank_bill;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付交易流水号
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerBankBill()
|
||||
{
|
||||
return $this->broker_bank_bill;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付路径
|
||||
* @var string $withdraw_platform
|
||||
*/
|
||||
public function setWithdrawPlatform($withdraw_platform)
|
||||
{
|
||||
$this->withdraw_platform = $withdraw_platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付路径
|
||||
* @return string
|
||||
*/
|
||||
public function getWithdrawPlatform()
|
||||
{
|
||||
return $this->withdraw_platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单接收时间,精确到秒
|
||||
* @var string $created_at
|
||||
*/
|
||||
public function setCreatedAt($created_at)
|
||||
{
|
||||
$this->created_at = $created_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单接收时间,精确到秒
|
||||
* @return string
|
||||
*/
|
||||
public function getCreatedAt()
|
||||
{
|
||||
return $this->created_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单完成时间,精确到秒
|
||||
* @var string $finished_time
|
||||
*/
|
||||
public function setFinishedTime($finished_time)
|
||||
{
|
||||
$this->finished_time = $finished_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单完成时间,精确到秒
|
||||
* @return string
|
||||
*/
|
||||
public function getFinishedTime()
|
||||
{
|
||||
return $this->finished_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收综合服务主体加成服务费金额
|
||||
* @var string $broker_fee
|
||||
*/
|
||||
public function setBrokerFee($broker_fee)
|
||||
{
|
||||
$this->broker_fee = $broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收综合服务主体加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerFee()
|
||||
{
|
||||
return $this->broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收余额账户支出加成服务费金额
|
||||
* @var string $broker_real_fee
|
||||
*/
|
||||
public function setBrokerRealFee($broker_real_fee)
|
||||
{
|
||||
$this->broker_real_fee = $broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收余额账户支出加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerRealFee()
|
||||
{
|
||||
return $this->broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收加成服务费抵扣金额
|
||||
* @var string $broker_deduct_fee
|
||||
*/
|
||||
public function setBrokerDeductFee($broker_deduct_fee)
|
||||
{
|
||||
$this->broker_deduct_fee = $broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收加成服务费抵扣金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerDeductFee()
|
||||
{
|
||||
return $this->broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收用户加成服务费金额
|
||||
* @var string $user_fee
|
||||
*/
|
||||
public function setUserFee($user_fee)
|
||||
{
|
||||
$this->user_fee = $user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收用户加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getUserFee()
|
||||
{
|
||||
return $this->user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收综合服务主体加成服务费金额
|
||||
* @var string $received_broker_fee
|
||||
*/
|
||||
public function setReceivedBrokerFee($received_broker_fee)
|
||||
{
|
||||
$this->received_broker_fee = $received_broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收综合服务主体加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedBrokerFee()
|
||||
{
|
||||
return $this->received_broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收余额账户支出加成服务费金额
|
||||
* @var string $received_broker_real_fee
|
||||
*/
|
||||
public function setReceivedBrokerRealFee($received_broker_real_fee)
|
||||
{
|
||||
$this->received_broker_real_fee = $received_broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收余额账户支出加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedBrokerRealFee()
|
||||
{
|
||||
return $this->received_broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收加成服务费抵扣金额
|
||||
* @var string $received_broker_deduct_fee
|
||||
*/
|
||||
public function setReceivedBrokerDeductFee($received_broker_deduct_fee)
|
||||
{
|
||||
$this->received_broker_deduct_fee = $received_broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收加成服务费抵扣金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedBrokerDeductFee()
|
||||
{
|
||||
return $this->received_broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收用户加成服务费金额
|
||||
* @var string $received_user_fee
|
||||
*/
|
||||
public function setReceivedUserFee($received_user_fee)
|
||||
{
|
||||
$this->received_user_fee = $received_user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收用户加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedUserFee()
|
||||
{
|
||||
return $this->received_user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
* @var string $pay_remark
|
||||
*/
|
||||
public function setPayRemark($pay_remark)
|
||||
{
|
||||
$this->pay_remark = $pay_remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
* @return string
|
||||
*/
|
||||
public function getPayRemark()
|
||||
{
|
||||
return $this->pay_remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string $bank_name
|
||||
*/
|
||||
public function setBankName($bank_name)
|
||||
{
|
||||
$this->bank_name = $bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
* @return string
|
||||
*/
|
||||
public function getBankName()
|
||||
{
|
||||
return $this->bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 业务线标识
|
||||
* @var string $project_id
|
||||
*/
|
||||
public function setProjectId($project_id)
|
||||
{
|
||||
$this->project_id = $project_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 业务线标识
|
||||
* @return string
|
||||
*/
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->project_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额
|
||||
* @var string $user_real_amount
|
||||
*/
|
||||
public function setUserRealAmount($user_real_amount)
|
||||
{
|
||||
$this->user_real_amount = $user_real_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRealAmount()
|
||||
{
|
||||
return $this->user_real_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* @var TaxDetail $tax_detail
|
||||
*/
|
||||
public function setTaxDetail($tax_detail)
|
||||
{
|
||||
$this->tax_detail = $tax_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* @return TaxDetail
|
||||
*/
|
||||
public function getTaxDetail()
|
||||
{
|
||||
return $this->tax_detail;
|
||||
}
|
||||
}
|
||||
910
extend/Yzh/Model/Payment/NotifyOrderLxlwData.php
Normal file
910
extend/Yzh/Model/Payment/NotifyOrderLxlwData.php
Normal file
@@ -0,0 +1,910 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 劳务模式订单支付状态回调通知数据
|
||||
* Class NotifyOrderLxlwData
|
||||
*/
|
||||
class NotifyOrderLxlwData extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @var string
|
||||
*/
|
||||
protected $order_id;
|
||||
/**
|
||||
* 订单金额
|
||||
* @var string
|
||||
*/
|
||||
protected $pay;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_id;
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
protected $real_name;
|
||||
/**
|
||||
* 收款人账号
|
||||
* @var string
|
||||
*/
|
||||
protected $card_no;
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string
|
||||
*/
|
||||
protected $id_card;
|
||||
/**
|
||||
* 手机号
|
||||
* @var string
|
||||
*/
|
||||
protected $phone_no;
|
||||
/**
|
||||
* 订单状态码
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
/**
|
||||
* 订单详情状态码
|
||||
* @var string
|
||||
*/
|
||||
protected $status_detail;
|
||||
/**
|
||||
* 订单状态码描述
|
||||
* @var string
|
||||
*/
|
||||
protected $status_message;
|
||||
/**
|
||||
* 订单详情状态码描述
|
||||
* @var string
|
||||
*/
|
||||
protected $status_detail_message;
|
||||
/**
|
||||
* 订单状态补充信息
|
||||
* @var string
|
||||
*/
|
||||
protected $supplemental_detail_message;
|
||||
/**
|
||||
* 综合服务主体支付金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_amount;
|
||||
/**
|
||||
* 综合服务平台流水号
|
||||
* @var string
|
||||
*/
|
||||
protected $ref;
|
||||
/**
|
||||
* 支付交易流水号
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_bank_bill;
|
||||
/**
|
||||
* 支付路径
|
||||
* @var string
|
||||
*/
|
||||
protected $withdraw_platform;
|
||||
/**
|
||||
* 订单接收时间,精确到秒
|
||||
* @var string
|
||||
*/
|
||||
protected $created_at;
|
||||
/**
|
||||
* 订单完成时间,精确到秒
|
||||
* @var string
|
||||
*/
|
||||
protected $finished_time;
|
||||
/**
|
||||
* 应收综合服务主体加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_fee;
|
||||
/**
|
||||
* 应收余额账户支出加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_real_fee;
|
||||
/**
|
||||
* 应收加成服务费抵扣金额
|
||||
* @var string
|
||||
*/
|
||||
protected $broker_deduct_fee;
|
||||
/**
|
||||
* 应收用户加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $user_fee;
|
||||
/**
|
||||
* 实收综合服务主体加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_broker_fee;
|
||||
/**
|
||||
* 实收余额账户支出加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_broker_real_fee;
|
||||
/**
|
||||
* 实收加成服务费抵扣金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_broker_deduct_fee;
|
||||
/**
|
||||
* 实收用户加成服务费金额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_user_fee;
|
||||
/**
|
||||
* 订单备注
|
||||
* @var string
|
||||
*/
|
||||
protected $pay_remark;
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string
|
||||
*/
|
||||
protected $bank_name;
|
||||
/**
|
||||
* 业务线标识
|
||||
* @var string
|
||||
*/
|
||||
protected $project_id;
|
||||
/**
|
||||
* 用户实收金额
|
||||
* @var string
|
||||
*/
|
||||
protected $user_real_amount;
|
||||
/**
|
||||
* 缴税明细
|
||||
* @var TaxDetail
|
||||
*/
|
||||
protected $tax_detail;
|
||||
/**
|
||||
* 互联网平台名称
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_platform_name;
|
||||
/**
|
||||
* 用户名称/昵称
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_user_nickname;
|
||||
/**
|
||||
* 用户唯一标识码
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_user_id;
|
||||
/**
|
||||
* 预扣税费总额
|
||||
* @var string
|
||||
*/
|
||||
protected $tax;
|
||||
/**
|
||||
* 实缴税费总额
|
||||
* @var string
|
||||
*/
|
||||
protected $received_tax_amount;
|
||||
/**
|
||||
* 用户实收金额(追缴前)
|
||||
* @var string
|
||||
*/
|
||||
protected $user_real_excluding_vat_amount;
|
||||
/**
|
||||
* 已追缴增附税(本笔订单)
|
||||
* @var string
|
||||
*/
|
||||
protected $user_recover_tax_amount;
|
||||
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @var string $order_id
|
||||
*/
|
||||
public function setOrderId($order_id)
|
||||
{
|
||||
$this->order_id = $order_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业订单号
|
||||
* @return string
|
||||
*/
|
||||
public function getOrderId()
|
||||
{
|
||||
return $this->order_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
* @var string $pay
|
||||
*/
|
||||
public function setPay($pay)
|
||||
{
|
||||
$this->pay = $pay;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
* @return string
|
||||
*/
|
||||
public function getPay()
|
||||
{
|
||||
return $this->pay;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
* @var string $real_name
|
||||
*/
|
||||
public function setRealName($real_name)
|
||||
{
|
||||
$this->real_name = $real_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
* @return string
|
||||
*/
|
||||
public function getRealName()
|
||||
{
|
||||
return $this->real_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收款人账号
|
||||
* @var string $card_no
|
||||
*/
|
||||
public function setCardNo($card_no)
|
||||
{
|
||||
$this->card_no = $card_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收款人账号
|
||||
* @return string
|
||||
*/
|
||||
public function getCardNo()
|
||||
{
|
||||
return $this->card_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
* @var string $id_card
|
||||
*/
|
||||
public function setIdCard($id_card)
|
||||
{
|
||||
$this->id_card = $id_card;
|
||||
}
|
||||
|
||||
/**
|
||||
* 身份证号码
|
||||
* @return string
|
||||
*/
|
||||
public function getIdCard()
|
||||
{
|
||||
return $this->id_card;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
* @var string $phone_no
|
||||
*/
|
||||
public function setPhoneNo($phone_no)
|
||||
{
|
||||
$this->phone_no = $phone_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
* @return string
|
||||
*/
|
||||
public function getPhoneNo()
|
||||
{
|
||||
return $this->phone_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码
|
||||
* @var string $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码
|
||||
* @var string $status_detail
|
||||
*/
|
||||
public function setStatusDetail($status_detail)
|
||||
{
|
||||
$this->status_detail = $status_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusDetail()
|
||||
{
|
||||
return $this->status_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码描述
|
||||
* @var string $status_message
|
||||
*/
|
||||
public function setStatusMessage($status_message)
|
||||
{
|
||||
$this->status_message = $status_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态码描述
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusMessage()
|
||||
{
|
||||
return $this->status_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码描述
|
||||
* @var string $status_detail_message
|
||||
*/
|
||||
public function setStatusDetailMessage($status_detail_message)
|
||||
{
|
||||
$this->status_detail_message = $status_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情状态码描述
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusDetailMessage()
|
||||
{
|
||||
return $this->status_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态补充信息
|
||||
* @var string $supplemental_detail_message
|
||||
*/
|
||||
public function setSupplementalDetailMessage($supplemental_detail_message)
|
||||
{
|
||||
$this->supplemental_detail_message = $supplemental_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单状态补充信息
|
||||
* @return string
|
||||
*/
|
||||
public function getSupplementalDetailMessage()
|
||||
{
|
||||
return $this->supplemental_detail_message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体支付金额
|
||||
* @var string $broker_amount
|
||||
*/
|
||||
public function setBrokerAmount($broker_amount)
|
||||
{
|
||||
$this->broker_amount = $broker_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务主体支付金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerAmount()
|
||||
{
|
||||
return $this->broker_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务平台流水号
|
||||
* @var string $ref
|
||||
*/
|
||||
public function setRef($ref)
|
||||
{
|
||||
$this->ref = $ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* 综合服务平台流水号
|
||||
* @return string
|
||||
*/
|
||||
public function getRef()
|
||||
{
|
||||
return $this->ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付交易流水号
|
||||
* @var string $broker_bank_bill
|
||||
*/
|
||||
public function setBrokerBankBill($broker_bank_bill)
|
||||
{
|
||||
$this->broker_bank_bill = $broker_bank_bill;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付交易流水号
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerBankBill()
|
||||
{
|
||||
return $this->broker_bank_bill;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付路径
|
||||
* @var string $withdraw_platform
|
||||
*/
|
||||
public function setWithdrawPlatform($withdraw_platform)
|
||||
{
|
||||
$this->withdraw_platform = $withdraw_platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付路径
|
||||
* @return string
|
||||
*/
|
||||
public function getWithdrawPlatform()
|
||||
{
|
||||
return $this->withdraw_platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单接收时间,精确到秒
|
||||
* @var string $created_at
|
||||
*/
|
||||
public function setCreatedAt($created_at)
|
||||
{
|
||||
$this->created_at = $created_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单接收时间,精确到秒
|
||||
* @return string
|
||||
*/
|
||||
public function getCreatedAt()
|
||||
{
|
||||
return $this->created_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单完成时间,精确到秒
|
||||
* @var string $finished_time
|
||||
*/
|
||||
public function setFinishedTime($finished_time)
|
||||
{
|
||||
$this->finished_time = $finished_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单完成时间,精确到秒
|
||||
* @return string
|
||||
*/
|
||||
public function getFinishedTime()
|
||||
{
|
||||
return $this->finished_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收综合服务主体加成服务费金额
|
||||
* @var string $broker_fee
|
||||
*/
|
||||
public function setBrokerFee($broker_fee)
|
||||
{
|
||||
$this->broker_fee = $broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收综合服务主体加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerFee()
|
||||
{
|
||||
return $this->broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收余额账户支出加成服务费金额
|
||||
* @var string $broker_real_fee
|
||||
*/
|
||||
public function setBrokerRealFee($broker_real_fee)
|
||||
{
|
||||
$this->broker_real_fee = $broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收余额账户支出加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerRealFee()
|
||||
{
|
||||
return $this->broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收加成服务费抵扣金额
|
||||
* @var string $broker_deduct_fee
|
||||
*/
|
||||
public function setBrokerDeductFee($broker_deduct_fee)
|
||||
{
|
||||
$this->broker_deduct_fee = $broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收加成服务费抵扣金额
|
||||
* @return string
|
||||
*/
|
||||
public function getBrokerDeductFee()
|
||||
{
|
||||
return $this->broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收用户加成服务费金额
|
||||
* @var string $user_fee
|
||||
*/
|
||||
public function setUserFee($user_fee)
|
||||
{
|
||||
$this->user_fee = $user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 应收用户加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getUserFee()
|
||||
{
|
||||
return $this->user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收综合服务主体加成服务费金额
|
||||
* @var string $received_broker_fee
|
||||
*/
|
||||
public function setReceivedBrokerFee($received_broker_fee)
|
||||
{
|
||||
$this->received_broker_fee = $received_broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收综合服务主体加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedBrokerFee()
|
||||
{
|
||||
return $this->received_broker_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收余额账户支出加成服务费金额
|
||||
* @var string $received_broker_real_fee
|
||||
*/
|
||||
public function setReceivedBrokerRealFee($received_broker_real_fee)
|
||||
{
|
||||
$this->received_broker_real_fee = $received_broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收余额账户支出加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedBrokerRealFee()
|
||||
{
|
||||
return $this->received_broker_real_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收加成服务费抵扣金额
|
||||
* @var string $received_broker_deduct_fee
|
||||
*/
|
||||
public function setReceivedBrokerDeductFee($received_broker_deduct_fee)
|
||||
{
|
||||
$this->received_broker_deduct_fee = $received_broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收加成服务费抵扣金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedBrokerDeductFee()
|
||||
{
|
||||
return $this->received_broker_deduct_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收用户加成服务费金额
|
||||
* @var string $received_user_fee
|
||||
*/
|
||||
public function setReceivedUserFee($received_user_fee)
|
||||
{
|
||||
$this->received_user_fee = $received_user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实收用户加成服务费金额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedUserFee()
|
||||
{
|
||||
return $this->received_user_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
* @var string $pay_remark
|
||||
*/
|
||||
public function setPayRemark($pay_remark)
|
||||
{
|
||||
$this->pay_remark = $pay_remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
* @return string
|
||||
*/
|
||||
public function getPayRemark()
|
||||
{
|
||||
return $this->pay_remark;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
* @var string $bank_name
|
||||
*/
|
||||
public function setBankName($bank_name)
|
||||
{
|
||||
$this->bank_name = $bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
* @return string
|
||||
*/
|
||||
public function getBankName()
|
||||
{
|
||||
return $this->bank_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 业务线标识
|
||||
* @var string $project_id
|
||||
*/
|
||||
public function setProjectId($project_id)
|
||||
{
|
||||
$this->project_id = $project_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 业务线标识
|
||||
* @return string
|
||||
*/
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->project_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额
|
||||
* @var string $user_real_amount
|
||||
*/
|
||||
public function setUserRealAmount($user_real_amount)
|
||||
{
|
||||
$this->user_real_amount = $user_real_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRealAmount()
|
||||
{
|
||||
return $this->user_real_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* @var TaxDetail $tax_detail
|
||||
*/
|
||||
public function setTaxDetail($tax_detail)
|
||||
{
|
||||
$this->tax_detail = $tax_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* @return TaxDetail
|
||||
*/
|
||||
public function getTaxDetail()
|
||||
{
|
||||
return $this->tax_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 互联网平台名称
|
||||
* @var string $dealer_platform_name
|
||||
*/
|
||||
public function setDealerPlatformName($dealer_platform_name)
|
||||
{
|
||||
$this->dealer_platform_name = $dealer_platform_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 互联网平台名称
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerPlatformName()
|
||||
{
|
||||
return $this->dealer_platform_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户名称/昵称
|
||||
* @var string $dealer_user_nickname
|
||||
*/
|
||||
public function setDealerUserNickname($dealer_user_nickname)
|
||||
{
|
||||
$this->dealer_user_nickname = $dealer_user_nickname;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户名称/昵称
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerUserNickname()
|
||||
{
|
||||
return $this->dealer_user_nickname;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户唯一标识码
|
||||
* @var string $dealer_user_id
|
||||
*/
|
||||
public function setDealerUserId($dealer_user_id)
|
||||
{
|
||||
$this->dealer_user_id = $dealer_user_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户唯一标识码
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerUserId()
|
||||
{
|
||||
return $this->dealer_user_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣税费总额
|
||||
* @var string $tax
|
||||
*/
|
||||
public function setTax($tax)
|
||||
{
|
||||
$this->tax = $tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣税费总额
|
||||
* @return string
|
||||
*/
|
||||
public function getTax()
|
||||
{
|
||||
return $this->tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴税费总额
|
||||
* @var string $received_tax_amount
|
||||
*/
|
||||
public function setReceivedTaxAmount($received_tax_amount)
|
||||
{
|
||||
$this->received_tax_amount = $received_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴税费总额
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedTaxAmount()
|
||||
{
|
||||
return $this->received_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额(追缴前)
|
||||
* @var string $user_real_excluding_vat_amount
|
||||
*/
|
||||
public function setUserRealExcludingVatAmount($user_real_excluding_vat_amount)
|
||||
{
|
||||
$this->user_real_excluding_vat_amount = $user_real_excluding_vat_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实收金额(追缴前)
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRealExcludingVatAmount()
|
||||
{
|
||||
return $this->user_real_excluding_vat_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 已追缴增附税(本笔订单)
|
||||
* @var string $user_recover_tax_amount
|
||||
*/
|
||||
public function setUserRecoverTaxAmount($user_recover_tax_amount)
|
||||
{
|
||||
$this->user_recover_tax_amount = $user_recover_tax_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* 已追缴增附税(本笔订单)
|
||||
* @return string
|
||||
*/
|
||||
public function getUserRecoverTaxAmount()
|
||||
{
|
||||
return $this->user_recover_tax_amount;
|
||||
}
|
||||
}
|
||||
37
extend/Yzh/Model/Payment/NotifyOrderLxlwRequest copy.php
Normal file
37
extend/Yzh/Model/Payment/NotifyOrderLxlwRequest copy.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 劳务模式订单支付状态回调通知
|
||||
* Class NotifyOrderLxlwRequest
|
||||
*/
|
||||
class NotifyOrderLxlwRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 通知 ID
|
||||
* @var string
|
||||
*/
|
||||
public $notify_id;
|
||||
/**
|
||||
* 通知时间
|
||||
* @var string
|
||||
*/
|
||||
public $notify_time;
|
||||
/**
|
||||
* 返回数据
|
||||
* @var NotifyOrderLxlwData
|
||||
*/
|
||||
public $data;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
37
extend/Yzh/Model/Payment/NotifyOrderLxlwRequest.php
Normal file
37
extend/Yzh/Model/Payment/NotifyOrderLxlwRequest.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 劳务模式订单支付状态回调通知
|
||||
* Class NotifyOrderLxlwRequest
|
||||
*/
|
||||
class NotifyOrderLxlwRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 通知 ID
|
||||
* @var string
|
||||
*/
|
||||
public $notify_id;
|
||||
/**
|
||||
* 通知时间
|
||||
* @var string
|
||||
*/
|
||||
public $notify_time;
|
||||
/**
|
||||
* 返回数据
|
||||
* @var NotifyOrderLxlwData
|
||||
*/
|
||||
public $data;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
473
extend/Yzh/Model/Payment/TaxDetail.php
Normal file
473
extend/Yzh/Model/Payment/TaxDetail.php
Normal file
@@ -0,0 +1,473 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Payment;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
|
||||
/**
|
||||
* 缴税明细
|
||||
* Class TaxDetail
|
||||
*/
|
||||
class TaxDetail extends BaseModel
|
||||
{
|
||||
/**
|
||||
* 预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax;
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $value_added_tax;
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $additional_tax;
|
||||
/**
|
||||
* 实缴个税
|
||||
* @var string
|
||||
*/
|
||||
protected $received_personal_tax;
|
||||
/**
|
||||
* 实缴增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $received_value_added_tax;
|
||||
/**
|
||||
* 实缴附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $received_additional_tax;
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_personal_tax;
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_personal_tax;
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_value_added_tax;
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_value_added_tax;
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $user_additional_tax;
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_additional_tax;
|
||||
/**
|
||||
* 用户实缴个税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_received_personal_tax;
|
||||
/**
|
||||
* 平台企业实缴个税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_received_personal_tax;
|
||||
/**
|
||||
* 用户实缴增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $user_received_value_added_tax;
|
||||
/**
|
||||
* 平台企业实缴增值税
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_received_value_added_tax;
|
||||
/**
|
||||
* 用户实缴附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $user_received_additional_tax;
|
||||
/**
|
||||
* 平台企业实缴附加税费
|
||||
* @var string
|
||||
*/
|
||||
protected $dealer_received_additional_tax;
|
||||
/**
|
||||
* 预扣个税税率
|
||||
* @var string
|
||||
*/
|
||||
protected $personal_tax_rate;
|
||||
/**
|
||||
* 预扣个税速算扣除数
|
||||
* @var string
|
||||
*/
|
||||
protected $deduct_tax;
|
||||
|
||||
/**
|
||||
* 预扣个税
|
||||
* @var string $personal_tax
|
||||
*/
|
||||
public function setPersonalTax($personal_tax)
|
||||
{
|
||||
$this->personal_tax = $personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTax()
|
||||
{
|
||||
return $this->personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @var string $value_added_tax
|
||||
*/
|
||||
public function setValueAddedTax($value_added_tax)
|
||||
{
|
||||
$this->value_added_tax = $value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getValueAddedTax()
|
||||
{
|
||||
return $this->value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @var string $additional_tax
|
||||
*/
|
||||
public function setAdditionalTax($additional_tax)
|
||||
{
|
||||
$this->additional_tax = $additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getAdditionalTax()
|
||||
{
|
||||
return $this->additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴个税
|
||||
* @var string $received_personal_tax
|
||||
*/
|
||||
public function setReceivedPersonalTax($received_personal_tax)
|
||||
{
|
||||
$this->received_personal_tax = $received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴个税
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedPersonalTax()
|
||||
{
|
||||
return $this->received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴增值税
|
||||
* @var string $received_value_added_tax
|
||||
*/
|
||||
public function setReceivedValueAddedTax($received_value_added_tax)
|
||||
{
|
||||
$this->received_value_added_tax = $received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedValueAddedTax()
|
||||
{
|
||||
return $this->received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴附加税费
|
||||
* @var string $received_additional_tax
|
||||
*/
|
||||
public function setReceivedAdditionalTax($received_additional_tax)
|
||||
{
|
||||
$this->received_additional_tax = $received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实缴附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getReceivedAdditionalTax()
|
||||
{
|
||||
return $this->received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @var string $user_personal_tax
|
||||
*/
|
||||
public function setUserPersonalTax($user_personal_tax)
|
||||
{
|
||||
$this->user_personal_tax = $user_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserPersonalTax()
|
||||
{
|
||||
return $this->user_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @var string $dealer_personal_tax
|
||||
*/
|
||||
public function setDealerPersonalTax($dealer_personal_tax)
|
||||
{
|
||||
$this->dealer_personal_tax = $dealer_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣个税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerPersonalTax()
|
||||
{
|
||||
return $this->dealer_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @var string $user_value_added_tax
|
||||
*/
|
||||
public function setUserValueAddedTax($user_value_added_tax)
|
||||
{
|
||||
$this->user_value_added_tax = $user_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserValueAddedTax()
|
||||
{
|
||||
return $this->user_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @var string $dealer_value_added_tax
|
||||
*/
|
||||
public function setDealerValueAddedTax($dealer_value_added_tax)
|
||||
{
|
||||
$this->dealer_value_added_tax = $dealer_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerValueAddedTax()
|
||||
{
|
||||
return $this->dealer_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @var string $user_additional_tax
|
||||
*/
|
||||
public function setUserAdditionalTax($user_additional_tax)
|
||||
{
|
||||
$this->user_additional_tax = $user_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getUserAdditionalTax()
|
||||
{
|
||||
return $this->user_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @var string $dealer_additional_tax
|
||||
*/
|
||||
public function setDealerAdditionalTax($dealer_additional_tax)
|
||||
{
|
||||
$this->dealer_additional_tax = $dealer_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业预扣附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerAdditionalTax()
|
||||
{
|
||||
return $this->dealer_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴个税
|
||||
* @var string $user_received_personal_tax
|
||||
*/
|
||||
public function setUserReceivedPersonalTax($user_received_personal_tax)
|
||||
{
|
||||
$this->user_received_personal_tax = $user_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴个税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserReceivedPersonalTax()
|
||||
{
|
||||
return $this->user_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴个税
|
||||
* @var string $dealer_received_personal_tax
|
||||
*/
|
||||
public function setDealerReceivedPersonalTax($dealer_received_personal_tax)
|
||||
{
|
||||
$this->dealer_received_personal_tax = $dealer_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴个税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerReceivedPersonalTax()
|
||||
{
|
||||
return $this->dealer_received_personal_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴增值税
|
||||
* @var string $user_received_value_added_tax
|
||||
*/
|
||||
public function setUserReceivedValueAddedTax($user_received_value_added_tax)
|
||||
{
|
||||
$this->user_received_value_added_tax = $user_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getUserReceivedValueAddedTax()
|
||||
{
|
||||
return $this->user_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴增值税
|
||||
* @var string $dealer_received_value_added_tax
|
||||
*/
|
||||
public function setDealerReceivedValueAddedTax($dealer_received_value_added_tax)
|
||||
{
|
||||
$this->dealer_received_value_added_tax = $dealer_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴增值税
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerReceivedValueAddedTax()
|
||||
{
|
||||
return $this->dealer_received_value_added_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴附加税费
|
||||
* @var string $user_received_additional_tax
|
||||
*/
|
||||
public function setUserReceivedAdditionalTax($user_received_additional_tax)
|
||||
{
|
||||
$this->user_received_additional_tax = $user_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实缴附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getUserReceivedAdditionalTax()
|
||||
{
|
||||
return $this->user_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴附加税费
|
||||
* @var string $dealer_received_additional_tax
|
||||
*/
|
||||
public function setDealerReceivedAdditionalTax($dealer_received_additional_tax)
|
||||
{
|
||||
$this->dealer_received_additional_tax = $dealer_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业实缴附加税费
|
||||
* @return string
|
||||
*/
|
||||
public function getDealerReceivedAdditionalTax()
|
||||
{
|
||||
return $this->dealer_received_additional_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税税率
|
||||
* @var string $personal_tax_rate
|
||||
*/
|
||||
public function setPersonalTaxRate($personal_tax_rate)
|
||||
{
|
||||
$this->personal_tax_rate = $personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税税率
|
||||
* @return string
|
||||
*/
|
||||
public function getPersonalTaxRate()
|
||||
{
|
||||
return $this->personal_tax_rate;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税速算扣除数
|
||||
* @var string $deduct_tax
|
||||
*/
|
||||
public function setDeductTax($deduct_tax)
|
||||
{
|
||||
$this->deduct_tax = $deduct_tax;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预扣个税速算扣除数
|
||||
* @return string
|
||||
*/
|
||||
public function getDeductTax()
|
||||
{
|
||||
return $this->deduct_tax;
|
||||
}
|
||||
}
|
||||
97
extend/Yzh/Model/Realname/CollectRealNameInfoRequest.php
Normal file
97
extend/Yzh/Model/Realname/CollectRealNameInfoRequest.php
Normal file
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Realname;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
|
||||
* Class CollectRealNameInfoRequest
|
||||
*/
|
||||
class CollectRealNameInfoRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 实名认证结果
|
||||
* @var int32
|
||||
*/
|
||||
public $realname_result;
|
||||
/**
|
||||
* 实名认证通过时间
|
||||
* @var string
|
||||
*/
|
||||
public $realname_time;
|
||||
/**
|
||||
* 实名认证方式
|
||||
* @var int32
|
||||
*/
|
||||
public $realname_type;
|
||||
/**
|
||||
* 实名认证唯一可追溯编码
|
||||
* @var string
|
||||
*/
|
||||
public $realname_trace_id;
|
||||
/**
|
||||
* 认证平台
|
||||
* @var string
|
||||
*/
|
||||
public $realname_platform;
|
||||
/**
|
||||
* 人脸照片
|
||||
* @var string
|
||||
*/
|
||||
public $face_image;
|
||||
/**
|
||||
* 人脸识别验证分数
|
||||
* @var string
|
||||
*/
|
||||
public $face_verify_score;
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
public $bank_no;
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @var string
|
||||
*/
|
||||
public $bank_phone;
|
||||
/**
|
||||
* 平台企业审核人
|
||||
* @var string
|
||||
*/
|
||||
public $reviewer;
|
||||
/**
|
||||
* 人脸照片收集类型
|
||||
* @var int32
|
||||
*/
|
||||
public $face_image_collect_type;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Realname/CollectRealNameInfoResponse.php
Normal file
33
extend/Yzh/Model/Realname/CollectRealNameInfoResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Realname;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
||||
* Class CollectRealNameInfoResponse
|
||||
*/
|
||||
class CollectRealNameInfoResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return CollectRealNameInfoResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new CollectRealNameInfoResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Realname;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
|
||||
* Class CollectRealNameInfoResponseData
|
||||
*/
|
||||
class CollectRealNameInfoResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 录入状态
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* 录入状态
|
||||
* @var string $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 录入状态
|
||||
* @return string
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
42
extend/Yzh/Model/Realname/QueryRealNameInfoRequest.php
Normal file
42
extend/Yzh/Model/Realname/QueryRealNameInfoRequest.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Realname;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
|
||||
* Class QueryRealNameInfoRequest
|
||||
*/
|
||||
class QueryRealNameInfoRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
extend/Yzh/Model/Realname/QueryRealNameInfoResponse.php
Normal file
33
extend/Yzh/Model/Realname/QueryRealNameInfoResponse.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Realname;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
||||
* Class QueryRealNameInfoResponse
|
||||
*/
|
||||
class QueryRealNameInfoResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return QueryRealNameInfoResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new QueryRealNameInfoResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
244
extend/Yzh/Model/Realname/QueryRealNameInfoResponseData.php
Normal file
244
extend/Yzh/Model/Realname/QueryRealNameInfoResponseData.php
Normal file
@@ -0,0 +1,244 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\Realname;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
|
||||
* Class QueryRealNameInfoResponseData
|
||||
*/
|
||||
class QueryRealNameInfoResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 实名认证结果
|
||||
* @var int32
|
||||
*/
|
||||
protected $realname_result;
|
||||
/**
|
||||
* 实名认证通过时间
|
||||
* @var string
|
||||
*/
|
||||
protected $realname_time;
|
||||
/**
|
||||
* 实名认证方式
|
||||
* @var int32
|
||||
*/
|
||||
protected $realname_type;
|
||||
/**
|
||||
* 实名认证唯一可追溯编码
|
||||
* @var string
|
||||
*/
|
||||
protected $realname_trace_id;
|
||||
/**
|
||||
* 认证平台
|
||||
* @var string
|
||||
*/
|
||||
protected $realname_platform;
|
||||
/**
|
||||
* 是否存在人脸照片
|
||||
* @var string
|
||||
*/
|
||||
protected $face_image;
|
||||
/**
|
||||
* 人脸识别验证分数
|
||||
* @var string
|
||||
*/
|
||||
protected $face_verify_score;
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string
|
||||
*/
|
||||
protected $bank_no;
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @var string
|
||||
*/
|
||||
protected $bank_phone;
|
||||
/**
|
||||
* 平台企业审核人
|
||||
* @var string
|
||||
*/
|
||||
protected $reviewer;
|
||||
|
||||
/**
|
||||
* 实名认证结果
|
||||
* @var int32 $realname_result
|
||||
*/
|
||||
public function setRealnameResult($realname_result)
|
||||
{
|
||||
$this->realname_result = $realname_result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证结果
|
||||
* @return int32
|
||||
*/
|
||||
public function getRealnameResult()
|
||||
{
|
||||
return $this->realname_result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证通过时间
|
||||
* @var string $realname_time
|
||||
*/
|
||||
public function setRealnameTime($realname_time)
|
||||
{
|
||||
$this->realname_time = $realname_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证通过时间
|
||||
* @return string
|
||||
*/
|
||||
public function getRealnameTime()
|
||||
{
|
||||
return $this->realname_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证方式
|
||||
* @var int32 $realname_type
|
||||
*/
|
||||
public function setRealnameType($realname_type)
|
||||
{
|
||||
$this->realname_type = $realname_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证方式
|
||||
* @return int32
|
||||
*/
|
||||
public function getRealnameType()
|
||||
{
|
||||
return $this->realname_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证唯一可追溯编码
|
||||
* @var string $realname_trace_id
|
||||
*/
|
||||
public function setRealnameTraceId($realname_trace_id)
|
||||
{
|
||||
$this->realname_trace_id = $realname_trace_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 实名认证唯一可追溯编码
|
||||
* @return string
|
||||
*/
|
||||
public function getRealnameTraceId()
|
||||
{
|
||||
return $this->realname_trace_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 认证平台
|
||||
* @var string $realname_platform
|
||||
*/
|
||||
public function setRealnamePlatform($realname_platform)
|
||||
{
|
||||
$this->realname_platform = $realname_platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* 认证平台
|
||||
* @return string
|
||||
*/
|
||||
public function getRealnamePlatform()
|
||||
{
|
||||
return $this->realname_platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否存在人脸照片
|
||||
* @var string $face_image
|
||||
*/
|
||||
public function setFaceImage($face_image)
|
||||
{
|
||||
$this->face_image = $face_image;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否存在人脸照片
|
||||
* @return string
|
||||
*/
|
||||
public function getFaceImage()
|
||||
{
|
||||
return $this->face_image;
|
||||
}
|
||||
|
||||
/**
|
||||
* 人脸识别验证分数
|
||||
* @var string $face_verify_score
|
||||
*/
|
||||
public function setFaceVerifyScore($face_verify_score)
|
||||
{
|
||||
$this->face_verify_score = $face_verify_score;
|
||||
}
|
||||
|
||||
/**
|
||||
* 人脸识别验证分数
|
||||
* @return string
|
||||
*/
|
||||
public function getFaceVerifyScore()
|
||||
{
|
||||
return $this->face_verify_score;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行卡号
|
||||
* @var string $bank_no
|
||||
*/
|
||||
public function setBankNo($bank_no)
|
||||
{
|
||||
$this->bank_no = $bank_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行卡号
|
||||
* @return string
|
||||
*/
|
||||
public function getBankNo()
|
||||
{
|
||||
return $this->bank_no;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @var string $bank_phone
|
||||
*/
|
||||
public function setBankPhone($bank_phone)
|
||||
{
|
||||
$this->bank_phone = $bank_phone;
|
||||
}
|
||||
|
||||
/**
|
||||
* 银行预留手机号
|
||||
* @return string
|
||||
*/
|
||||
public function getBankPhone()
|
||||
{
|
||||
return $this->bank_phone;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业审核人
|
||||
* @var string $reviewer
|
||||
*/
|
||||
public function setReviewer($reviewer)
|
||||
{
|
||||
$this->reviewer = $reviewer;
|
||||
}
|
||||
|
||||
/**
|
||||
* 平台企业审核人
|
||||
* @return string
|
||||
*/
|
||||
public function getReviewer()
|
||||
{
|
||||
return $this->reviewer;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态请求
|
||||
* Class GetUserCollectPhoneStatusRequest
|
||||
*/
|
||||
class GetUserCollectPhoneStatusRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_id;
|
||||
/**
|
||||
* 综合服务主体 ID
|
||||
* @var string
|
||||
*/
|
||||
public $broker_id;
|
||||
/**
|
||||
* 平台企业用户 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_user_id;
|
||||
/**
|
||||
* 姓名
|
||||
* @var string
|
||||
*/
|
||||
public $real_name;
|
||||
/**
|
||||
* 证件号码
|
||||
* @var string
|
||||
*/
|
||||
public $id_card;
|
||||
/**
|
||||
* 证件类型编码
|
||||
* @var int32
|
||||
*/
|
||||
public $certificate_type;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态返回
|
||||
* Class GetUserCollectPhoneStatusResponse
|
||||
*/
|
||||
class GetUserCollectPhoneStatusResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetUserCollectPhoneStatusResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetUserCollectPhoneStatusResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态返回
|
||||
* Class GetUserCollectPhoneStatusResponseData
|
||||
*/
|
||||
class GetUserCollectPhoneStatusResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @var string
|
||||
*/
|
||||
protected $token;
|
||||
/**
|
||||
* 绑定状态
|
||||
* @var int32
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @var string $token
|
||||
*/
|
||||
public function setToken($token)
|
||||
{
|
||||
$this->token = $token;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @return string
|
||||
*/
|
||||
public function getToken()
|
||||
{
|
||||
return $this->token;
|
||||
}
|
||||
|
||||
/**
|
||||
* 绑定状态
|
||||
* @var int32 $status
|
||||
*/
|
||||
public function setStatus($status)
|
||||
{
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* 绑定状态
|
||||
* @return int32
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面请求
|
||||
* Class GetUserCollectPhoneUrlRequest
|
||||
*/
|
||||
class GetUserCollectPhoneUrlRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 手机号码收集 Token
|
||||
* @var string
|
||||
*/
|
||||
public $token;
|
||||
/**
|
||||
* 主题颜色
|
||||
* @var string
|
||||
*/
|
||||
public $color;
|
||||
/**
|
||||
* 回调地址
|
||||
* @var string
|
||||
*/
|
||||
public $url;
|
||||
/**
|
||||
* 跳转 URL
|
||||
* @var string
|
||||
*/
|
||||
public $redirect_url;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseResponse;
|
||||
use Yzh\Model\ResponseInterface;
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面返回
|
||||
* Class GetUserCollectPhoneUrlResponse
|
||||
*/
|
||||
class GetUserCollectPhoneUrlResponse extends BaseResponse implements ResponseInterface
|
||||
{
|
||||
/**
|
||||
* 获取数据对象
|
||||
* @return GetUserCollectPhoneUrlResponseData
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置数据对象
|
||||
* @param array $data
|
||||
* @return self
|
||||
*/
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = new GetUserCollectPhoneUrlResponseData($data);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseModel;
|
||||
use Yzh\Model\ResponseDataInterface;
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面返回
|
||||
* Class GetUserCollectPhoneUrlResponseData
|
||||
*/
|
||||
class GetUserCollectPhoneUrlResponseData extends BaseModel implements ResponseDataInterface
|
||||
{
|
||||
/**
|
||||
* 收集手机号码页面 URL
|
||||
* @var string
|
||||
*/
|
||||
protected $url;
|
||||
|
||||
/**
|
||||
* 收集手机号码页面 URL
|
||||
* @var string $url
|
||||
*/
|
||||
public function setUrl($url)
|
||||
{
|
||||
$this->url = $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收集手机号码页面 URL
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh\Model\UserCollect;
|
||||
|
||||
use Yzh\Model\BaseRequest;
|
||||
|
||||
/**
|
||||
* 收集手机号码结果回调通知
|
||||
* Class NotifyUserCollectPhoneRequest
|
||||
*/
|
||||
class NotifyUserCollectPhoneRequest extends BaseRequest
|
||||
{
|
||||
/**
|
||||
* 平台企业用户 ID
|
||||
* @var string
|
||||
*/
|
||||
public $dealer_user_id;
|
||||
/**
|
||||
* 手机号码绑定状态
|
||||
* @var int32
|
||||
*/
|
||||
public $status;
|
||||
|
||||
public function __construct($params = array())
|
||||
{
|
||||
foreach (array_keys(get_object_vars($this)) as $property) {
|
||||
if (isset($params[$property])) {
|
||||
$this->{$property} = $params[$property];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
49
extend/Yzh/RealNameServiceClient.php
Normal file
49
extend/Yzh/RealNameServiceClient.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh;
|
||||
|
||||
use Yzh\Exception\ConfigException;
|
||||
use Yzh\Exception\ExceptionCode;
|
||||
|
||||
|
||||
use Yzh\Model\Realname\CollectRealNameInfoRequest;
|
||||
use Yzh\Model\Realname\CollectRealNameInfoResponse;
|
||||
use Yzh\Model\Realname\QueryRealNameInfoRequest;
|
||||
use Yzh\Model\Realname\QueryRealNameInfoResponse;
|
||||
|
||||
/**
|
||||
* 实名信息收集
|
||||
* Class RealNameServiceClient
|
||||
*/
|
||||
class RealNameServiceClient extends BaseClient
|
||||
{
|
||||
protected static $service_name = 'realnameservice';
|
||||
|
||||
/**
|
||||
* 用户实名认证信息收集
|
||||
* @param CollectRealNameInfoRequest $request
|
||||
* @param null $option
|
||||
* @return CollectRealNameInfoResponse
|
||||
*/
|
||||
public function collectRealNameInfo($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof CollectRealNameInfoRequest) {
|
||||
throw new ConfigException("Realname->collectRealNameInfo request 必须是 Yzh\\Model\\Realname\\CollectRealNameInfoRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('POST', '/api/user/v1/collect/realname/info', $request, "Yzh\\Model\\Realname\\CollectRealNameInfoResponse", $option);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户实名认证信息查询
|
||||
* @param QueryRealNameInfoRequest $request
|
||||
* @param null $option
|
||||
* @return QueryRealNameInfoResponse
|
||||
*/
|
||||
public function queryRealNameInfo($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof QueryRealNameInfoRequest) {
|
||||
throw new ConfigException("Realname->queryRealNameInfo request 必须是 Yzh\\Model\\Realname\\QueryRealNameInfoRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('GET', '/api/user/v1/query/realname/info', $request, "Yzh\\Model\\Realname\\QueryRealNameInfoResponse", $option);
|
||||
}
|
||||
}
|
||||
49
extend/Yzh/UserCollectServiceClient.php
Normal file
49
extend/Yzh/UserCollectServiceClient.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
namespace Yzh;
|
||||
|
||||
use Yzh\Exception\ConfigException;
|
||||
use Yzh\Exception\ExceptionCode;
|
||||
|
||||
|
||||
use Yzh\Model\Usercollect\GetUserCollectPhoneStatusRequest;
|
||||
use Yzh\Model\Usercollect\GetUserCollectPhoneStatusResponse;
|
||||
use Yzh\Model\Usercollect\GetUserCollectPhoneUrlRequest;
|
||||
use Yzh\Model\Usercollect\GetUserCollectPhoneUrlResponse;
|
||||
|
||||
/**
|
||||
* 用户信息收集
|
||||
* Class UserCollectServiceClient
|
||||
*/
|
||||
class UserCollectServiceClient extends BaseClient
|
||||
{
|
||||
protected static $service_name = 'usercollectservice';
|
||||
|
||||
/**
|
||||
* 查询手机号码绑定状态
|
||||
* @param GetUserCollectPhoneStatusRequest $request
|
||||
* @param null $option
|
||||
* @return GetUserCollectPhoneStatusResponse
|
||||
*/
|
||||
public function getUserCollectPhoneStatus($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof GetUserCollectPhoneStatusRequest) {
|
||||
throw new ConfigException("UserCollect->getUserCollectPhoneStatus request 必须是 Yzh\\Model\\UserCollect\\GetUserCollectPhoneStatusRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('GET', '/api/user/v1/collect/phone/status', $request, "Yzh\\Model\\UserCollect\\GetUserCollectPhoneStatusResponse", $option);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收集手机号码页面
|
||||
* @param GetUserCollectPhoneUrlRequest $request
|
||||
* @param null $option
|
||||
* @return GetUserCollectPhoneUrlResponse
|
||||
*/
|
||||
public function getUserCollectPhoneUrl($request, $option = null)
|
||||
{
|
||||
if (!$request instanceof GetUserCollectPhoneUrlRequest) {
|
||||
throw new ConfigException("UserCollect->getUserCollectPhoneUrl request 必须是 Yzh\\Model\\UserCollect\\GetUserCollectPhoneUrlRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
|
||||
}
|
||||
return $this->send('GET', '/api/user/v1/collect/phone/url', $request, "Yzh\\Model\\UserCollect\\GetUserCollectPhoneUrlResponse", $option);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user