|
@@ -3,15 +3,17 @@ declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace SixShop\Payment\Contracts;
|
|
namespace SixShop\Payment\Contracts;
|
|
|
|
|
|
|
|
|
|
+use SixShop\Payment\Enum\PaymentStatusEnum;
|
|
|
|
|
+
|
|
|
class PaymentNotifyResult
|
|
class PaymentNotifyResult
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
public function __construct(
|
|
public function __construct(
|
|
|
- public string $orderNo,
|
|
|
|
|
- public string $transactionId,
|
|
|
|
|
- public float $amount,
|
|
|
|
|
- public string $status,
|
|
|
|
|
- public array $raw
|
|
|
|
|
|
|
+ public string $orderNo,
|
|
|
|
|
+ public string $transactionId,
|
|
|
|
|
+ public float $amount,
|
|
|
|
|
+ public PaymentStatusEnum $status,
|
|
|
|
|
+ public array $raw
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
}
|
|
}
|