mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 14:40:29 +01:00
36 lines
669 B
PHP
36 lines
669 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Xentral\Modules\Onlineshop\Data;
|
|
|
|
class ShopConnectorOrderStatusUpdateResponse implements ShopConnectorResponseInterface
|
|
{
|
|
/** @var bool $success */
|
|
protected $success;
|
|
/** @var string $message */
|
|
protected $message;
|
|
|
|
public function __construct(bool $success, string $message)
|
|
{
|
|
$this->success = $success;
|
|
$this->message = $message;
|
|
}
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function isSuccessful(): bool
|
|
{
|
|
return $this->success;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getMessage(): string
|
|
{
|
|
return $this->message;
|
|
}
|
|
}
|