Download src/Billing/Domain/ValueObjects/OrderStatus.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Billing/Domain/ValueObjects/OrderStatus.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Billing/Domain/ValueObjects/OrderStatus.php
-
curl -L -o OrderStatus.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Billing/Domain/ValueObjects/OrderStatus.php
424 Bytes
| declare(strict_types=1); | |
| namespace Billing\Domain\ValueObjects; | |
| use JsonSerializable; | |
| enum OrderStatus: string implements JsonSerializable | |
| { | |
| case FAILED = 'failed'; // Payment failed | |
| case PENDING = 'pending'; // Paid but not fulfilled | |
| case COMPLETED = 'completed'; // Paid and fulfilled | |
| /** @return string */ | |
| public function jsonSerialize(): string | |
| { | |
| return $this->value; | |
| } | |
| } | |