AIKEEDO / src /Billing /Domain /ValueObjects /SubscriptionStatus.php
Softin Trading
Initial Commit from GitHub.
cf14c12
Raw History Blame Contribute Delete
421 Bytes
<?php
declare(strict_types=1);
namespace Billing\Domain\ValueObjects;
use JsonSerializable;
enum SubscriptionStatus: string implements JsonSerializable
{
case ACTIVE = 'active';
case TRIALING = 'trialing';
case CANCELED = 'canceled';
case ENDED = 'ended';
case UNKNOWN = 'unknown';
/** @return string */
public function jsonSerialize(): string
{
return $this->value;
}
}