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

93 lines
1.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace Yzh\Model\Payment;
use Yzh\Model\BaseRequest;
/**
* 微信实时支付请求
* Class CreateWxpayOrderRequest
*/
class CreateWxpayOrderRequest extends BaseRequest
{
/**
* 平台企业订单号
* @var string
*/
public $order_id;
/**
* 平台企业 ID
* @var string
*/
public $dealer_id;
/**
* 综合服务主体 ID
* @var string
*/
public $broker_id;
/**
* 姓名
* @var string
*/
public $real_name;
/**
* 微信用户 openid
* @var string
*/
public $openid;
/**
* 身份证号码
* @var string
*/
public $id_card;
/**
* 手机号
* @var string
*/
public $phone_no;
/**
* 订单金额
* @var string
*/
public $pay;
/**
* 订单备注
* @var string
*/
public $pay_remark;
/**
* 回调地址
* @var string
*/
public $notify_url;
/**
* 平台企业微信 AppID
* @var string
*/
public $wx_app_id;
/**
* 微信支付模式固定值transfer
* @var string
*/
public $wxpay_mode;
/**
* 项目标识
* @var string
*/
public $project_id;
/**
* 描述信息,该字段已废弃
* @var string
*/
public $notes;
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}