<?php

namespace common\modules\orderPayment\WOP\OnlinePayments\Core\BusinessLogic\Domain\Cancel;

use common\modules\orderPayment\WOP\OnlinePayments\Core\BusinessLogic\Domain\Payment\PaymentId;
use common\modules\orderPayment\WOP\OnlinePayments\Core\BusinessLogic\Domain\Payment\StatusCode;
/**
 * Class CancelResponse.
 *
 * @package OnlinePayments\Core\BusinessLogic\Domain\Cancel
 */
class CancelResponse
{
    private PaymentId $id;
    private StatusCode $statusCode;
    private string $status;
    /**
     * @param PaymentId $id
     * @param StatusCode $statusCode
     * @param string $status
     */
    public function __construct(PaymentId $id, StatusCode $statusCode, string $status)
    {
        $this->id = $id;
        $this->statusCode = $statusCode;
        $this->status = $status;
    }
    public function getId(): PaymentId
    {
        return $this->id;
    }
    public function getStatusCode(): StatusCode
    {
        return $this->statusCode;
    }
    public function getStatus(): string
    {
        return $this->status;
    }
}
