diff --git a/extend/Yzh/BaseClient.php b/extend/Yzh/BaseClient.php index bfadd19..801c558 100644 --- a/extend/Yzh/BaseClient.php +++ b/extend/Yzh/BaseClient.php @@ -17,7 +17,7 @@ defined("JSON_UNESCAPED_UNICODE") or define("JSON_UNESCAPED_UNICODE", 256); class BaseClient { const SDK_NAME = "yunzhanghu-sdk-php"; - const SDK_VERSION = "2.0.15"; + const SDK_VERSION = "2.0.22"; const ENV_PROD = "yzh_env_prod"; const ENV_SANDBOX = "yzh_env_sandbox"; @@ -44,6 +44,8 @@ class BaseClient 'bizlicxjjh5service' => 'https://api-aic.yunzhanghu.com', // 个体工商户注册服务(云账户新经济 H5)接口域名 'ins' => 'https://api-ins.yunzhanghu.com', // 保险服务接口域名 'task' => 'https://api-task.yunzhanghu.com', // 任务库服务接口域名 + 'usercollectservice' => 'https://api-user.yunzhanghu.com', // 用户信息收集接口域名 + 'calculatelaborservice' => 'https://api-service.yunzhanghu.com', // 连续劳务税费试算接口域名 ), self::ENV_SANDBOX => array( // 沙箱环境 @@ -51,8 +53,10 @@ class BaseClient 'authentication' => 'https://api-service.yunzhanghu.com/sandbox', // 用户信息验证接口域名 'apiusersignservice' => 'https://api-service.yunzhanghu.com/sandbox', // API 签约接口域名 'h5usersignservice' => 'https://api-service.yunzhanghu.com/sandbox', // H5 签约接口域名 + 'calculatelaborservice' => 'https://api-service.yunzhanghu.com/sandbox', // 连续劳务税费试算接口域名 + 'realnameservice' => 'https://api-service.yunzhanghu.com/sandbox', // 连续劳务税费试算接口域名 'ins' => '', // 保险服务接口域名 - 'aic' => '', // 个体工商户注册服务接口域名 + 'aic' => 'https://api-aic.yunzhanghu.com/sandbox', // 个体工商户注册服务接口域名 'task' => '', // 任务库服务接口域名 'dataservice' => '', // 数据服务接口域名 ), diff --git a/extend/Yzh/CalculateLaborServiceClient.php b/extend/Yzh/CalculateLaborServiceClient.php new file mode 100644 index 0000000..70ed8b7 --- /dev/null +++ b/extend/Yzh/CalculateLaborServiceClient.php @@ -0,0 +1,81 @@ +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); + } +} \ No newline at end of file diff --git a/extend/Yzh/CustomerLinkClient.php b/extend/Yzh/CustomerLinkClient.php new file mode 100644 index 0000000..d612800 --- /dev/null +++ b/extend/Yzh/CustomerLinkClient.php @@ -0,0 +1,40 @@ +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; + } + } \ No newline at end of file diff --git a/extend/Yzh/Model/Authentication/UserExemptedInfoRequest.php b/extend/Yzh/Model/Authentication/UserExemptedInfoRequest.php index ce35843..023e3b8 100644 --- a/extend/Yzh/Model/Authentication/UserExemptedInfoRequest.php +++ b/extend/Yzh/Model/Authentication/UserExemptedInfoRequest.php @@ -70,6 +70,11 @@ class UserExemptedInfoRequest extends BaseRequest * @var string */ public $ref; + /** + * 证件照片 URL 地址 + * @var string[] + */ + public $image_urls; public function __construct($params = array()) { diff --git a/extend/Yzh/Model/Calculatelabor/CalcTaxDetail.php b/extend/Yzh/Model/Calculatelabor/CalcTaxDetail.php new file mode 100644 index 0000000..c96fc78 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalcTaxDetail.php @@ -0,0 +1,335 @@ +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; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalcTaxRequest.php b/extend/Yzh/Model/Calculatelabor/CalcTaxRequest.php new file mode 100644 index 0000000..e11c6cb --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalcTaxRequest.php @@ -0,0 +1,52 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalcTaxResponse.php b/extend/Yzh/Model/Calculatelabor/CalcTaxResponse.php new file mode 100644 index 0000000..4b0dab7 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalcTaxResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new CalcTaxResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalcTaxResponseData.php b/extend/Yzh/Model/Calculatelabor/CalcTaxResponseData.php new file mode 100644 index 0000000..3c52a1a --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalcTaxResponseData.php @@ -0,0 +1,405 @@ +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; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalculationH5UrlRequest.php b/extend/Yzh/Model/Calculatelabor/CalculationH5UrlRequest.php new file mode 100644 index 0000000..3c87dc3 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalculationH5UrlRequest.php @@ -0,0 +1,47 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponse.php b/extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponse.php new file mode 100644 index 0000000..d1659f2 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new CalculationH5UrlResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponseData.php b/extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponseData.php new file mode 100644 index 0000000..167a0cd --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalculationH5UrlResponseData.php @@ -0,0 +1,37 @@ +url = $url; + } + + /** + * 连续劳务单笔结算税费测算 H5 页面 URL + * @return string + */ + public function getUrl() + { + return $this->url; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlRequest.php b/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlRequest.php new file mode 100644 index 0000000..4d42d1e --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlRequest.php @@ -0,0 +1,37 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlResponse.php b/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlResponse.php new file mode 100644 index 0000000..3e59065 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new CalculationYearH5UrlResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlResponseData.php b/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlResponseData.php new file mode 100644 index 0000000..400569f --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/CalculationYearH5UrlResponseData.php @@ -0,0 +1,37 @@ +url = $url; + } + + /** + * 年度劳务测算 H5 页面 URL + * @return string + */ + public function getUrl() + { + return $this->url; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/LaborCaculatorRequest.php b/extend/Yzh/Model/Calculatelabor/LaborCaculatorRequest.php new file mode 100644 index 0000000..4f50e2f --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/LaborCaculatorRequest.php @@ -0,0 +1,37 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Calculatelabor/LaborCaculatorResponse.php b/extend/Yzh/Model/Calculatelabor/LaborCaculatorResponse.php new file mode 100644 index 0000000..55983ca --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/LaborCaculatorResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new LaborCaculatorResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/LaborCaculatorResponseData.php b/extend/Yzh/Model/Calculatelabor/LaborCaculatorResponseData.php new file mode 100644 index 0000000..3fbbe34 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/LaborCaculatorResponseData.php @@ -0,0 +1,62 @@ +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; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/MontTax.php b/extend/Yzh/Model/Calculatelabor/MontTax.php new file mode 100644 index 0000000..a342945 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/MontTax.php @@ -0,0 +1,243 @@ +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; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/MonthSettlement.php b/extend/Yzh/Model/Calculatelabor/MonthSettlement.php new file mode 100644 index 0000000..6fd8ce8 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/MonthSettlement.php @@ -0,0 +1,59 @@ +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; + } +} diff --git a/extend/Yzh/Model/Calculatelabor/YearTaxInfo.php b/extend/Yzh/Model/Calculatelabor/YearTaxInfo.php new file mode 100644 index 0000000..2427805 --- /dev/null +++ b/extend/Yzh/Model/Calculatelabor/YearTaxInfo.php @@ -0,0 +1,151 @@ +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; + } +} diff --git a/extend/Yzh/Model/Dataservice/DailyOrderSummary.php b/extend/Yzh/Model/Dataservice/DailyOrderSummary.php index d726cff..432a4f4 100644 --- a/extend/Yzh/Model/Dataservice/DailyOrderSummary.php +++ b/extend/Yzh/Model/Dataservice/DailyOrderSummary.php @@ -21,25 +21,145 @@ class DailyOrderSummary extends BaseModel */ protected $pay; /** - * 加成服务费金额 + * 应收综合服务主体加成服务费金额 * @var string */ protected $broker_fee; /** - * 加成服务费实收金额 + * 应收余额账户支出加成服务费金额 * @var string */ protected $broker_real_fee; /** - * 已抵扣加成服务费金额 + * 应收加成服务费抵扣金额 * @var string */ protected $broker_rebate_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 $tax; + /** + * 实缴税费总额 + * @var string + */ + protected $received_tax_amount; + /** + * 预扣个税 + * @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; /** * 订单数量 @@ -78,7 +198,7 @@ class DailyOrderSummary extends BaseModel } /** - * 加成服务费金额 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -87,7 +207,7 @@ class DailyOrderSummary extends BaseModel } /** - * 加成服务费金额 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -96,7 +216,7 @@ class DailyOrderSummary extends BaseModel } /** - * 加成服务费实收金额 + * 应收余额账户支出加成服务费金额 * @var string $broker_real_fee */ public function setBrokerRealFee($broker_real_fee) @@ -105,7 +225,7 @@ class DailyOrderSummary extends BaseModel } /** - * 加成服务费实收金额 + * 应收余额账户支出加成服务费金额 * @return string */ public function getBrokerRealFee() @@ -114,7 +234,7 @@ class DailyOrderSummary extends BaseModel } /** - * 已抵扣加成服务费金额 + * 应收加成服务费抵扣金额 * @var string $broker_rebate_fee */ public function setBrokerRebateFee($broker_rebate_fee) @@ -123,7 +243,7 @@ class DailyOrderSummary extends BaseModel } /** - * 已抵扣加成服务费金额 + * 应收加成服务费抵扣金额 * @return string */ public function getBrokerRebateFee() @@ -132,7 +252,7 @@ class DailyOrderSummary extends BaseModel } /** - * 用户加成服务费金额 + * 应收用户加成服务费金额 * @var string $user_fee */ public function setUserFee($user_fee) @@ -141,11 +261,443 @@ class DailyOrderSummary extends BaseModel } /** - * 用户加成服务费金额 + * 应收用户加成服务费金额 * @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 $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 $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; + } } diff --git a/extend/Yzh/Model/Dataservice/DealerOrderInfo.php b/extend/Yzh/Model/Dataservice/DealerOrderInfo.php index 837a6cb..23ea123 100644 --- a/extend/Yzh/Model/Dataservice/DealerOrderInfo.php +++ b/extend/Yzh/Model/Dataservice/DealerOrderInfo.php @@ -51,10 +51,15 @@ class DealerOrderInfo extends BaseModel */ protected $broker_amount; /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string */ protected $broker_fee; + /** + * 实收综合服务主体加成服务费金额 + * @var string + */ + protected $received_broker_fee; /** * 支付路径流水号 * @var string @@ -115,6 +120,21 @@ class DealerOrderInfo extends BaseModel * @var string */ protected $finished_time; + /** + * 预扣税费总额 + * @var string + */ + protected $tax_amount; + /** + * 实缴税费总额 + * @var string + */ + protected $received_tax_amount; + /** + * 缴税明细 + * @var OrderTaxDetail + */ + protected $tax_detail; /** * 综合服务主体 ID @@ -261,7 +281,7 @@ class DealerOrderInfo extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -270,7 +290,7 @@ class DealerOrderInfo extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -278,6 +298,24 @@ class DealerOrderInfo extends BaseModel return $this->broker_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 $bill @@ -493,4 +531,58 @@ class DealerOrderInfo extends BaseModel { return $this->finished_time; } + + /** + * 预扣税费总额 + * @var string $tax_amount + */ + public function setTaxAmount($tax_amount) + { + $this->tax_amount = $tax_amount; + } + + /** + * 预扣税费总额 + * @return string + */ + public function getTaxAmount() + { + return $this->tax_amount; + } + + /** + * 实缴税费总额 + * @var string $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 OrderTaxDetail $tax_detail + */ + public function setTaxDetail($tax_detail) + { + $this->tax_detail = $tax_detail; + } + + /** + * 缴税明细 + * @return OrderTaxDetail + */ + public function getTaxDetail() + { + return $this->tax_detail; + } } diff --git a/extend/Yzh/Model/Dataservice/DealerOrderInfoV2.php b/extend/Yzh/Model/Dataservice/DealerOrderInfoV2.php index 30b6560..52e13b2 100644 --- a/extend/Yzh/Model/Dataservice/DealerOrderInfoV2.php +++ b/extend/Yzh/Model/Dataservice/DealerOrderInfoV2.php @@ -56,10 +56,15 @@ class DealerOrderInfoV2 extends BaseModel */ protected $broker_amount; /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string */ protected $broker_fee; + /** + * 实收综合服务主体加成服务费金额 + * @var string + */ + protected $received_broker_fee; /** * 支付路径流水号 * @var string @@ -130,6 +135,21 @@ class DealerOrderInfoV2 extends BaseModel * @var string */ protected $pay_ref; + /** + * 预扣税费总额 + * @var string + */ + protected $tax_amount; + /** + * 实缴税费总额 + * @var string + */ + protected $received_tax_amount; + /** + * 缴税明细 + * @var OrderTaxDetail + */ + protected $tax_detail; /** * 综合服务主体 ID @@ -294,7 +314,7 @@ class DealerOrderInfoV2 extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -303,7 +323,7 @@ class DealerOrderInfoV2 extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -311,6 +331,24 @@ class DealerOrderInfoV2 extends BaseModel return $this->broker_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 $bill @@ -562,4 +600,58 @@ class DealerOrderInfoV2 extends BaseModel { return $this->pay_ref; } + + /** + * 预扣税费总额 + * @var string $tax_amount + */ + public function setTaxAmount($tax_amount) + { + $this->tax_amount = $tax_amount; + } + + /** + * 预扣税费总额 + * @return string + */ + public function getTaxAmount() + { + return $this->tax_amount; + } + + /** + * 实缴税费总额 + * @var string $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 OrderTaxDetail $tax_detail + */ + public function setTaxDetail($tax_detail) + { + $this->tax_detail = $tax_detail; + } + + /** + * 缴税明细 + * @return OrderTaxDetail + */ + public function getTaxDetail() + { + return $this->tax_detail; + } } diff --git a/extend/Yzh/Model/Dataservice/MonthlyOrderSummary.php b/extend/Yzh/Model/Dataservice/MonthlyOrderSummary.php index 16b5c4f..71c348b 100644 --- a/extend/Yzh/Model/Dataservice/MonthlyOrderSummary.php +++ b/extend/Yzh/Model/Dataservice/MonthlyOrderSummary.php @@ -21,25 +21,145 @@ class MonthlyOrderSummary extends BaseModel */ protected $pay; /** - * 加成服务费金额 + * 应收综合服务主体加成服务费金额 * @var string */ protected $broker_fee; /** - * 加成服务费实收金额 + * 应收余额账户支出加成服务费金额 * @var string */ protected $broker_real_fee; /** - * 已抵扣加成服务费金额 + * 应收加成服务费抵扣金额 * @var string */ protected $broker_rebate_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 $tax; + /** + * 实缴税费总额 + * @var string + */ + protected $received_tax_amount; + /** + * 预扣个税 + * @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; /** * 订单数量 @@ -78,7 +198,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 加成服务费金额 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -87,7 +207,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 加成服务费金额 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -96,7 +216,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 加成服务费实收金额 + * 应收余额账户支出加成服务费金额 * @var string $broker_real_fee */ public function setBrokerRealFee($broker_real_fee) @@ -105,7 +225,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 加成服务费实收金额 + * 应收余额账户支出加成服务费金额 * @return string */ public function getBrokerRealFee() @@ -114,7 +234,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 已抵扣加成服务费金额 + * 应收加成服务费抵扣金额 * @var string $broker_rebate_fee */ public function setBrokerRebateFee($broker_rebate_fee) @@ -123,7 +243,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 已抵扣加成服务费金额 + * 应收加成服务费抵扣金额 * @return string */ public function getBrokerRebateFee() @@ -132,7 +252,7 @@ class MonthlyOrderSummary extends BaseModel } /** - * 用户加成服务费金额 + * 应收用户加成服务费金额 * @var string $user_fee */ public function setUserFee($user_fee) @@ -141,11 +261,443 @@ class MonthlyOrderSummary extends BaseModel } /** - * 用户加成服务费金额 + * 应收用户加成服务费金额 * @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 $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 $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; + } } diff --git a/extend/Yzh/Model/Dataservice/OrderTaxDetail.php b/extend/Yzh/Model/Dataservice/OrderTaxDetail.php new file mode 100644 index 0000000..dde5b67 --- /dev/null +++ b/extend/Yzh/Model/Dataservice/OrderTaxDetail.php @@ -0,0 +1,427 @@ +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; + } +} diff --git a/extend/Yzh/Model/Dataservice/StatementDetail.php b/extend/Yzh/Model/Dataservice/StatementDetail.php index d75638e..b8a9da8 100644 --- a/extend/Yzh/Model/Dataservice/StatementDetail.php +++ b/extend/Yzh/Model/Dataservice/StatementDetail.php @@ -61,12 +61,12 @@ class StatementDetail extends BaseModel */ protected $reex_amount; /** - * 加成服务费金额 + * 实收综合服务主体加成服务费金额 * @var string */ protected $fee_amount; /** - * 加成服务费抵扣金额 + * 实收加成服务费抵扣金额 * @var string */ protected $deduct_rebate_fee_amount; @@ -95,6 +95,11 @@ class StatementDetail extends BaseModel * @var string */ protected $project_name; + /** + * 实纳税费金额 + * @var string + */ + protected $received_tax_amount; /** * 账单 ID @@ -277,7 +282,7 @@ class StatementDetail extends BaseModel } /** - * 加成服务费金额 + * 实收综合服务主体加成服务费金额 * @var string $fee_amount */ public function setFeeAmount($fee_amount) @@ -286,7 +291,7 @@ class StatementDetail extends BaseModel } /** - * 加成服务费金额 + * 实收综合服务主体加成服务费金额 * @return string */ public function getFeeAmount() @@ -295,7 +300,7 @@ class StatementDetail extends BaseModel } /** - * 加成服务费抵扣金额 + * 实收加成服务费抵扣金额 * @var string $deduct_rebate_fee_amount */ public function setDeductRebateFeeAmount($deduct_rebate_fee_amount) @@ -304,7 +309,7 @@ class StatementDetail extends BaseModel } /** - * 加成服务费抵扣金额 + * 实收加成服务费抵扣金额 * @return string */ public function getDeductRebateFeeAmount() @@ -401,4 +406,22 @@ class StatementDetail extends BaseModel { return $this->project_name; } + + /** + * 实纳税费金额 + * @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; + } } diff --git a/extend/Yzh/Model/H5usersign/H5UserPresignRequest.php b/extend/Yzh/Model/H5usersign/H5UserPresignRequest.php index ff12afe..c554d32 100644 --- a/extend/Yzh/Model/H5usersign/H5UserPresignRequest.php +++ b/extend/Yzh/Model/H5usersign/H5UserPresignRequest.php @@ -35,6 +35,11 @@ class H5UserPresignRequest extends BaseRequest * @var int32 */ public $certificate_type; + /** + * 是否收集手机号码 0:不收集(默认) 1:收集手机号码 + * @var int32 + */ + public $collect_phone_no; public function __construct($params = array()) { diff --git a/extend/Yzh/Model/Payment/BatchOrderInfo.php b/extend/Yzh/Model/Payment/BatchOrderInfo.php index 6f038d2..d5f00b5 100644 --- a/extend/Yzh/Model/Payment/BatchOrderInfo.php +++ b/extend/Yzh/Model/Payment/BatchOrderInfo.php @@ -41,7 +41,7 @@ class BatchOrderInfo extends BaseModel */ protected $phone_no; /** - * 项目标识 + * 业务线标识 * @var string */ protected $project_id; @@ -60,6 +60,21 @@ class BatchOrderInfo extends BaseModel * @var string */ protected $notify_url; + /** + * 互联网平台名称 + * @var string + */ + protected $dealer_platform_name; + /** + * 用户名称/昵称 + * @var string + */ + protected $dealer_user_nickname; + /** + * 用户唯一标识码 + * @var string + */ + protected $dealer_user_id; /** * 平台企业订单号 @@ -170,7 +185,7 @@ class BatchOrderInfo extends BaseModel } /** - * 项目标识 + * 业务线标识 * @var string $project_id */ public function setProjectId($project_id) @@ -179,7 +194,7 @@ class BatchOrderInfo extends BaseModel } /** - * 项目标识 + * 业务线标识 * @return string */ public function getProjectId() @@ -240,4 +255,58 @@ class BatchOrderInfo extends BaseModel { return $this->notify_url; } + + /** + * 互联网平台名称 + * @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; + } } diff --git a/extend/Yzh/Model/Payment/CreateAlipayOrderRequest.php b/extend/Yzh/Model/Payment/CreateAlipayOrderRequest.php index 117acb3..e749700 100644 --- a/extend/Yzh/Model/Payment/CreateAlipayOrderRequest.php +++ b/extend/Yzh/Model/Payment/CreateAlipayOrderRequest.php @@ -61,7 +61,7 @@ class CreateAlipayOrderRequest extends BaseRequest */ public $notify_url; /** - * 项目标识 + * 业务线标识 * @var string */ public $project_id; @@ -70,6 +70,21 @@ class CreateAlipayOrderRequest extends BaseRequest * @var string */ public $check_name; + /** + * 互联网平台名称 + * @var string + */ + public $dealer_platform_name; + /** + * 用户名称/昵称 + * @var string + */ + public $dealer_user_nickname; + /** + * 用户唯一标识码 + * @var string + */ + public $dealer_user_id; public function __construct($params = array()) { diff --git a/extend/Yzh/Model/Payment/CreateBankpayOrderRequest.php b/extend/Yzh/Model/Payment/CreateBankpayOrderRequest.php index 6b061dc..ac8d108 100644 --- a/extend/Yzh/Model/Payment/CreateBankpayOrderRequest.php +++ b/extend/Yzh/Model/Payment/CreateBankpayOrderRequest.php @@ -61,10 +61,25 @@ class CreateBankpayOrderRequest extends BaseRequest */ public $notify_url; /** - * 项目标识 + * 业务线标识 * @var string */ public $project_id; + /** + * 互联网平台名称 + * @var string + */ + public $dealer_platform_name; + /** + * 用户名称/昵称 + * @var string + */ + public $dealer_user_nickname; + /** + * 用户唯一标识码 + * @var string + */ + public $dealer_user_id; public function __construct($params = array()) { diff --git a/extend/Yzh/Model/Payment/CreateWxpayOrderRequest.php b/extend/Yzh/Model/Payment/CreateWxpayOrderRequest.php index e5872ca..fc5f744 100644 --- a/extend/Yzh/Model/Payment/CreateWxpayOrderRequest.php +++ b/extend/Yzh/Model/Payment/CreateWxpayOrderRequest.php @@ -71,7 +71,7 @@ class CreateWxpayOrderRequest extends BaseRequest */ public $wxpay_mode; /** - * 项目标识 + * 业务线标识 * @var string */ public $project_id; @@ -80,6 +80,21 @@ class CreateWxpayOrderRequest extends BaseRequest * @var string */ public $notes; + /** + * 互联网平台名称 + * @var string + */ + public $dealer_platform_name; + /** + * 用户名称/昵称 + * @var string + */ + public $dealer_user_nickname; + /** + * 用户唯一标识码 + * @var string + */ + public $dealer_user_id; public function __construct($params = array()) { diff --git a/extend/Yzh/Model/Payment/GetOrderLxlwRequest.php b/extend/Yzh/Model/Payment/GetOrderLxlwRequest.php new file mode 100644 index 0000000..eca614f --- /dev/null +++ b/extend/Yzh/Model/Payment/GetOrderLxlwRequest.php @@ -0,0 +1,37 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Payment/GetOrderLxlwResponse.php b/extend/Yzh/Model/Payment/GetOrderLxlwResponse.php new file mode 100644 index 0000000..50fdeb8 --- /dev/null +++ b/extend/Yzh/Model/Payment/GetOrderLxlwResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new GetOrderLxlwResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Payment/GetOrderLxlwResponseData.php b/extend/Yzh/Model/Payment/GetOrderLxlwResponseData.php new file mode 100644 index 0000000..80464fa --- /dev/null +++ b/extend/Yzh/Model/Payment/GetOrderLxlwResponseData.php @@ -0,0 +1,1003 @@ +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; + } + + /** + * 新就业形态劳动者 ID,该字段已废弃 + * @var string $anchor_id + */ + public function setAnchorId($anchor_id) + { + $this->anchor_id = $anchor_id; + } + + /** + * 新就业形态劳动者 ID,该字段已废弃 + * @return string + */ + public function getAnchorId() + { + return $this->anchor_id; + } + + /** + * 描述信息,该字段已废弃 + * @var string $notes + */ + public function setNotes($notes) + { + $this->notes = $notes; + } + + /** + * 描述信息,该字段已废弃 + * @return string + */ + public function getNotes() + { + return $this->notes; + } + + /** + * 系统支付金额,该字段已废弃 + * @var string $sys_amount + */ + public function setSysAmount($sys_amount) + { + $this->sys_amount = $sys_amount; + } + + /** + * 系统支付金额,该字段已废弃 + * @return string + */ + public function getSysAmount() + { + return $this->sys_amount; + } + + /** + * 税费,该字段已废弃 + * @var string $tax + */ + public function setTax($tax) + { + $this->tax = $tax; + } + + /** + * 税费,该字段已废弃 + * @return string + */ + public function getTax() + { + return $this->tax; + } + + /** + * 系统支付费用,该字段已废弃 + * @var string $sys_fee + */ + public function setSysFee($sys_fee) + { + $this->sys_fee = $sys_fee; + } + + /** + * 系统支付费用,该字段已废弃 + * @return string + */ + public function getSysFee() + { + return $this->sys_fee; + } + + /** + * 用户实收金额 + * @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 $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 $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 $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; + } +} diff --git a/extend/Yzh/Model/Payment/GetOrderResponseData.php b/extend/Yzh/Model/Payment/GetOrderResponseData.php index 0d0cf97..7d81c15 100644 --- a/extend/Yzh/Model/Payment/GetOrderResponseData.php +++ b/extend/Yzh/Model/Payment/GetOrderResponseData.php @@ -67,7 +67,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface */ protected $status_message; /** - * 订单详细状态码描述 + * 订单详情状态码描述 * @var string */ protected $status_detail_message; @@ -107,37 +107,57 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface */ 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 $user_fee; /** * 银行名称 * @var string */ protected $bank_name; /** - * 项目标识 + * 业务线标识 * @var string */ protected $project_id; @@ -166,6 +186,46 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface * @var string */ protected $sys_fee; + /** + * 用户实收金额 + * @var string + */ + protected $user_real_amount; + /** + * 缴税明细 + * @var TaxDetail + */ + protected $tax_detail; + /** + * 实缴税费总额 + * @var string + */ + protected $received_tax_amount; + /** + * 互联网平台名称 + * @var string + */ + protected $dealer_platform_name; + /** + * 用户名称/昵称 + * @var string + */ + protected $dealer_user_nickname; + /** + * 用户唯一标识码 + * @var string + */ + protected $dealer_user_id; + /** + * 用户实收金额(追缴前) + * @var string + */ + protected $user_real_excluding_vat_amount; + /** + * 已追缴增附税(本笔订单) + * @var string + */ + protected $user_recover_tax_amount; /** * 平台企业订单号 @@ -366,7 +426,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 订单详细状态码描述 + * 订单详情状态码描述 * @var string $status_detail_message */ public function setStatusDetailMessage($status_detail_message) @@ -375,7 +435,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 订单详细状态码描述 + * 订单详情状态码描述 * @return string */ public function getStatusDetailMessage() @@ -510,7 +570,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -519,7 +579,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -528,7 +588,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 余额账户支出加成服务费 + * 应收余额账户支出加成服务费金额 * @var string $broker_real_fee */ public function setBrokerRealFee($broker_real_fee) @@ -537,7 +597,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 余额账户支出加成服务费 + * 应收余额账户支出加成服务费金额 * @return string */ public function getBrokerRealFee() @@ -546,7 +606,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 抵扣账户支出加成服务费 + * 应收加成服务费抵扣金额 * @var string $broker_deduct_fee */ public function setBrokerDeductFee($broker_deduct_fee) @@ -555,7 +615,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 抵扣账户支出加成服务费 + * 应收加成服务费抵扣金额 * @return string */ public function getBrokerDeductFee() @@ -563,6 +623,96 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface 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 @@ -581,24 +731,6 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface return $this->pay_remark; } - /** - * 用户加成服务费 - * @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 $bank_name @@ -618,7 +750,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 项目标识 + * 业务线标识 * @var string $project_id */ public function setProjectId($project_id) @@ -627,7 +759,7 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface } /** - * 项目标识 + * 业务线标识 * @return string */ public function getProjectId() @@ -724,4 +856,148 @@ class GetOrderResponseData extends BaseModel implements ResponseDataInterface { return $this->sys_fee; } + + /** + * 用户实收金额 + * @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 $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 $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 $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; + } } diff --git a/extend/Yzh/Model/Payment/NotifyOrderData.php b/extend/Yzh/Model/Payment/NotifyOrderData.php index ff6502f..ca806fc 100644 --- a/extend/Yzh/Model/Payment/NotifyOrderData.php +++ b/extend/Yzh/Model/Payment/NotifyOrderData.php @@ -106,30 +106,50 @@ class NotifyOrderData extends BaseModel */ 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 $user_fee; /** * 银行名称 * @var string @@ -145,6 +165,51 @@ class NotifyOrderData extends BaseModel * @var string */ protected $user_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; /** * 平台企业订单号 @@ -489,7 +554,7 @@ class NotifyOrderData extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -498,7 +563,7 @@ class NotifyOrderData extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -507,7 +572,7 @@ class NotifyOrderData extends BaseModel } /** - * 余额账户支出加成服务费 + * 应收余额账户支出加成服务费金额 * @var string $broker_real_fee */ public function setBrokerRealFee($broker_real_fee) @@ -516,7 +581,7 @@ class NotifyOrderData extends BaseModel } /** - * 余额账户支出加成服务费 + * 应收余额账户支出加成服务费金额 * @return string */ public function getBrokerRealFee() @@ -525,7 +590,7 @@ class NotifyOrderData extends BaseModel } /** - * 抵扣账户支出加成服务费 + * 应收加成服务费抵扣金额 * @var string $broker_deduct_fee */ public function setBrokerDeductFee($broker_deduct_fee) @@ -534,7 +599,7 @@ class NotifyOrderData extends BaseModel } /** - * 抵扣账户支出加成服务费 + * 应收加成服务费抵扣金额 * @return string */ public function getBrokerDeductFee() @@ -542,6 +607,96 @@ class NotifyOrderData extends BaseModel 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 @@ -560,24 +715,6 @@ class NotifyOrderData extends BaseModel return $this->pay_remark; } - /** - * 用户加成服务费 - * @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 $bank_name @@ -631,4 +768,166 @@ class NotifyOrderData extends BaseModel { return $this->user_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; + } } diff --git a/extend/Yzh/Model/Payment/NotifyOrderLxlwData copy.php b/extend/Yzh/Model/Payment/NotifyOrderLxlwData copy.php new file mode 100644 index 0000000..9b8db26 --- /dev/null +++ b/extend/Yzh/Model/Payment/NotifyOrderLxlwData copy.php @@ -0,0 +1,749 @@ +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; + } +} diff --git a/extend/Yzh/Model/Payment/NotifyOrderLxlwData.php b/extend/Yzh/Model/Payment/NotifyOrderLxlwData.php new file mode 100644 index 0000000..f07b32a --- /dev/null +++ b/extend/Yzh/Model/Payment/NotifyOrderLxlwData.php @@ -0,0 +1,910 @@ +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; + } +} diff --git a/extend/Yzh/Model/Payment/NotifyOrderLxlwRequest copy.php b/extend/Yzh/Model/Payment/NotifyOrderLxlwRequest copy.php new file mode 100644 index 0000000..5a60dc1 --- /dev/null +++ b/extend/Yzh/Model/Payment/NotifyOrderLxlwRequest copy.php @@ -0,0 +1,37 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Payment/NotifyOrderLxlwRequest.php b/extend/Yzh/Model/Payment/NotifyOrderLxlwRequest.php new file mode 100644 index 0000000..5a60dc1 --- /dev/null +++ b/extend/Yzh/Model/Payment/NotifyOrderLxlwRequest.php @@ -0,0 +1,37 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Payment/QueryBatchOrderInfo.php b/extend/Yzh/Model/Payment/QueryBatchOrderInfo.php index dd232a0..d022cdd 100644 --- a/extend/Yzh/Model/Payment/QueryBatchOrderInfo.php +++ b/extend/Yzh/Model/Payment/QueryBatchOrderInfo.php @@ -106,30 +106,50 @@ class QueryBatchOrderInfo extends BaseModel */ 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 $user_fee; /** * 银行名称 * @var string @@ -140,6 +160,31 @@ class QueryBatchOrderInfo extends BaseModel * @var string */ protected $project_id; + /** + * 互联网平台名称 + * @var string + */ + protected $dealer_platform_name; + /** + * 用户名称/昵称 + * @var string + */ + protected $dealer_user_nickname; + /** + * 用户唯一标识码 + * @var string + */ + protected $dealer_user_id; + /** + * 预扣个税税率 + * @var string + */ + protected $personal_tax_rate; + /** + * 预扣个税速算扣除数 + * @var string + */ + protected $deduct_tax; /** * 平台企业订单号 @@ -484,7 +529,7 @@ class QueryBatchOrderInfo extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @var string $broker_fee */ public function setBrokerFee($broker_fee) @@ -493,7 +538,7 @@ class QueryBatchOrderInfo extends BaseModel } /** - * 综合服务主体加成服务费 + * 应收综合服务主体加成服务费金额 * @return string */ public function getBrokerFee() @@ -502,7 +547,7 @@ class QueryBatchOrderInfo extends BaseModel } /** - * 余额账户支出加成服务费 + * 应收余额账户支出加成服务费金额 * @var string $broker_real_fee */ public function setBrokerRealFee($broker_real_fee) @@ -511,7 +556,7 @@ class QueryBatchOrderInfo extends BaseModel } /** - * 余额账户支出加成服务费 + * 应收余额账户支出加成服务费金额 * @return string */ public function getBrokerRealFee() @@ -520,7 +565,7 @@ class QueryBatchOrderInfo extends BaseModel } /** - * 加成服务费抵扣金额 + * 应收加成服务费抵扣金额 * @var string $broker_deduct_fee */ public function setBrokerDeductFee($broker_deduct_fee) @@ -529,7 +574,7 @@ class QueryBatchOrderInfo extends BaseModel } /** - * 加成服务费抵扣金额 + * 应收加成服务费抵扣金额 * @return string */ public function getBrokerDeductFee() @@ -537,6 +582,96 @@ class QueryBatchOrderInfo extends BaseModel 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 @@ -555,24 +690,6 @@ class QueryBatchOrderInfo extends BaseModel return $this->pay_remark; } - /** - * 用户加成服务费 - * @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 $bank_name @@ -608,4 +725,94 @@ class QueryBatchOrderInfo extends BaseModel { return $this->project_id; } + + /** + * 互联网平台名称 + * @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 $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; + } } diff --git a/extend/Yzh/Model/Payment/TaxDetail.php b/extend/Yzh/Model/Payment/TaxDetail.php new file mode 100644 index 0000000..561f0b8 --- /dev/null +++ b/extend/Yzh/Model/Payment/TaxDetail.php @@ -0,0 +1,473 @@ +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; + } +} diff --git a/extend/Yzh/Model/Realname/CollectRealNameInfoRequest.php b/extend/Yzh/Model/Realname/CollectRealNameInfoRequest.php new file mode 100644 index 0000000..4e498ab --- /dev/null +++ b/extend/Yzh/Model/Realname/CollectRealNameInfoRequest.php @@ -0,0 +1,97 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Realname/CollectRealNameInfoResponse.php b/extend/Yzh/Model/Realname/CollectRealNameInfoResponse.php new file mode 100644 index 0000000..e9ff1d4 --- /dev/null +++ b/extend/Yzh/Model/Realname/CollectRealNameInfoResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new CollectRealNameInfoResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Realname/CollectRealNameInfoResponseData.php b/extend/Yzh/Model/Realname/CollectRealNameInfoResponseData.php new file mode 100644 index 0000000..404264c --- /dev/null +++ b/extend/Yzh/Model/Realname/CollectRealNameInfoResponseData.php @@ -0,0 +1,37 @@ +status = $status; + } + + /** + * 录入状态 + * @return string + */ + public function getStatus() + { + return $this->status; + } +} diff --git a/extend/Yzh/Model/Realname/QueryRealNameInfoRequest.php b/extend/Yzh/Model/Realname/QueryRealNameInfoRequest.php new file mode 100644 index 0000000..9391520 --- /dev/null +++ b/extend/Yzh/Model/Realname/QueryRealNameInfoRequest.php @@ -0,0 +1,42 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Realname/QueryRealNameInfoResponse.php b/extend/Yzh/Model/Realname/QueryRealNameInfoResponse.php new file mode 100644 index 0000000..b381c22 --- /dev/null +++ b/extend/Yzh/Model/Realname/QueryRealNameInfoResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new QueryRealNameInfoResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Realname/QueryRealNameInfoResponseData.php b/extend/Yzh/Model/Realname/QueryRealNameInfoResponseData.php new file mode 100644 index 0000000..7122c91 --- /dev/null +++ b/extend/Yzh/Model/Realname/QueryRealNameInfoResponseData.php @@ -0,0 +1,244 @@ +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; + } +} diff --git a/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusRequest.php b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusRequest.php new file mode 100644 index 0000000..842475d --- /dev/null +++ b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusRequest.php @@ -0,0 +1,52 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusResponse.php b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusResponse.php new file mode 100644 index 0000000..786f7e2 --- /dev/null +++ b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new GetUserCollectPhoneStatusResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusResponseData.php b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusResponseData.php new file mode 100644 index 0000000..68b2d7c --- /dev/null +++ b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneStatusResponseData.php @@ -0,0 +1,60 @@ +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; + } +} diff --git a/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlRequest.php b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlRequest.php new file mode 100644 index 0000000..5f81dc4 --- /dev/null +++ b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlRequest.php @@ -0,0 +1,42 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlResponse.php b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlResponse.php new file mode 100644 index 0000000..3eca655 --- /dev/null +++ b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlResponse.php @@ -0,0 +1,33 @@ +data; + } + + /** + * 设置数据对象 + * @param array $data + * @return self + */ + public function setData($data) + { + $this->data = new GetUserCollectPhoneUrlResponseData($data); + return $this; + } +} diff --git a/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlResponseData.php b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlResponseData.php new file mode 100644 index 0000000..7b51924 --- /dev/null +++ b/extend/Yzh/Model/Usercollect/GetUserCollectPhoneUrlResponseData.php @@ -0,0 +1,37 @@ +url = $url; + } + + /** + * 收集手机号码页面 URL + * @return string + */ + public function getUrl() + { + return $this->url; + } +} diff --git a/extend/Yzh/Model/Usercollect/NotifyUserCollectPhoneRequest.php b/extend/Yzh/Model/Usercollect/NotifyUserCollectPhoneRequest.php new file mode 100644 index 0000000..bfcefd0 --- /dev/null +++ b/extend/Yzh/Model/Usercollect/NotifyUserCollectPhoneRequest.php @@ -0,0 +1,32 @@ +{$property} = $params[$property]; + } + } + } +} diff --git a/extend/Yzh/PaymentClient.php b/extend/Yzh/PaymentClient.php index ae46098..b18e28f 100644 --- a/extend/Yzh/PaymentClient.php +++ b/extend/Yzh/PaymentClient.php @@ -32,6 +32,8 @@ use Yzh\Model\Payment\QueryBatchOrderRequest; use Yzh\Model\Payment\QueryBatchOrderResponse; use Yzh\Model\Payment\CheckUserAmountRequest; use Yzh\Model\Payment\CheckUserAmountResponse; +use Yzh\Model\Payment\GetOrderLxlwRequest; +use Yzh\Model\Payment\GetOrderLxlwResponse; /** * 实时支付 @@ -236,4 +238,18 @@ class PaymentClient extends BaseClient } return $this->send('POST', '/api/payment/v1/risk-check/amount', $request, "Yzh\\Model\\Payment\\CheckUserAmountResponse", $option); } + + /** + * 查询劳务模式单笔订单信息 + * @param GetOrderLxlwRequest $request + * @param null $option + * @return GetOrderLxlwResponse + */ + public function getOrderLxlw($request, $option = null) + { + if (!$request instanceof GetOrderLxlwRequest) { + throw new ConfigException("Payment->getOrderLxlw request 必须是 Yzh\\Model\\Payment\\GetOrderLxlwRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM); + } + return $this->send('GET', '/api/payment/v1/query-order', $request, "Yzh\\Model\\Payment\\GetOrderLxlwResponse", $option); + } } \ No newline at end of file diff --git a/extend/Yzh/RealNameServiceClient.php b/extend/Yzh/RealNameServiceClient.php new file mode 100644 index 0000000..a6af073 --- /dev/null +++ b/extend/Yzh/RealNameServiceClient.php @@ -0,0 +1,49 @@ +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); + } +} \ No newline at end of file diff --git a/extend/Yzh/UserCollectServiceClient.php b/extend/Yzh/UserCollectServiceClient.php new file mode 100644 index 0000000..3654476 --- /dev/null +++ b/extend/Yzh/UserCollectServiceClient.php @@ -0,0 +1,49 @@ +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); + } +} \ No newline at end of file diff --git a/extend/Yzh/YunPay.php b/extend/Yzh/YunPay.php index 4b271c6..0e44953 100644 --- a/extend/Yzh/YunPay.php +++ b/extend/Yzh/YunPay.php @@ -36,6 +36,7 @@ class YunPay $this->card_no = $card_no; $this->order_amount = $order_amount; $this->phone = $phone; + $this->dealer_platform_name = "秘地"; //读取配置 $this->config = Config::newFromArray(array( 'app_dealer_id' => $this->sys_config->dealer_id, @@ -47,7 +48,7 @@ class YunPay 'sign_type' => $this->sys_config->sign_type )); } - public function alipay(){ + public function alipay($data=[]){ try { $this->paymentClient = new PaymentClient($this->config); $this->paymentClient->setEnv(PaymentClient::ENV_PROD); @@ -66,7 +67,11 @@ class YunPay 'pay_remark' => $this->remark, // 订单备注(选填,至多支持 40 个字符且不支持特殊字符,⼀个汉字占 2 个字符,不支持的特殊字符为 ' " & | @% ( ) - : # + / < > ¥ \ ,) 'check_name' => 'Check', // 校验⽀付宝账户姓名(固定值 Check) 'notify_url' => $this->notify_url, // 回调地址(选填,长度不超过 200 个字符) - 'project_id' => '' // 项目ID,该字段由云账户分配,当接口指定项目时,会将订单关联指定项目 + 'project_id' => '', // 项目ID,该字段由云账户分配,当接口指定项目时,会将订单关联指定项目 + //9月新加 + 'dealer_platform_name' => $this->dealer_platform_name, //互联网平台名称 + 'dealer_user_nickname' => $data['nickname'] ?? "", //用户名称/昵称 + 'dealer_user_id' => $data['user_id'] ?? "", //用户ID 用户唯一标识码 )); /* * request-id:请求 ID,请求的唯一标识 @@ -205,12 +210,14 @@ class YunPay return ['code' => 1, 'msg' => "订单状态:" . $response->getData()->getStatusMessage(), 'data' => [ 'code' => $response->getData()->getStatusDetail(), 'msg' => $response->getData()->getStatusMessage(), + 'data' => $response->getData() ]]; }else{ return ['code' => 1, 'msg' => "订单状态:" . $response->getData()->getStatusDetailMessage(), 'data' => [ 'code' => $response->getData()->getStatusDetail(), 'msg' => $response->getData()->getStatusDetailMessage(), + 'data' => $response->getData() ]]; }