36 lines
641 B
PHP
36 lines
641 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Event;
|
|
|
|
class RefundGoodOrderFinishEvent
|
|
{
|
|
/**
|
|
* @var int 订单 id
|
|
*/
|
|
public int $orderId;
|
|
|
|
/**
|
|
* @var int 支付订单 id
|
|
*/
|
|
public int $payOrderId;
|
|
|
|
/**
|
|
* @var int 退款订单 id
|
|
*/
|
|
public int $refundOrderId;
|
|
|
|
/**
|
|
* @param int $orderId
|
|
* @param int $payOrderId
|
|
* @param int $refundOrderId
|
|
*/
|
|
public function __construct(int $orderId, int $payOrderId, int $refundOrderId)
|
|
{
|
|
$this->orderId = $orderId;
|
|
$this->payOrderId = $payOrderId;
|
|
$this->refundOrderId = $refundOrderId;
|
|
}
|
|
}
|