Files
yusheng-php/extend/Yzh/Model/Payment/GetOrderRequest.php
2025-08-07 20:21:47 +08:00

38 lines
783 B
PHP
Raw Permalink 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 GetOrderRequest
*/
class GetOrderRequest extends BaseRequest
{
/**
* 平台企业订单号
* @var string
*/
public $order_id;
/**
* 支付路径名,银行卡(默认)、支付宝、微信
* @var string
*/
public $channel;
/**
* 数据类型,如果为 encryption则对返回的 data 进行加密
* @var string
*/
public $data_type;
public function __construct($params = array())
{
foreach (array_keys(get_object_vars($this)) as $property) {
if (isset($params[$property])) {
$this->{$property} = $params[$property];
}
}
}
}