Download src/Billing/Domain/ValueObjects/PaymentGateway.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Billing/Domain/ValueObjects/PaymentGateway.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Billing/Domain/ValueObjects/PaymentGateway.php
-
curl -L -o PaymentGateway.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Billing/Domain/ValueObjects/PaymentGateway.php
627 Bytes
| declare(strict_types=1); | |
| namespace Billing\Domain\ValueObjects; | |
| use Doctrine\DBAL\Types\Types; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use JsonSerializable; | |
| #[ORM\Embeddable] | |
| class PaymentGateway implements JsonSerializable | |
| { | |
| #[ORM\Column(type: Types::STRING, name: "payment_gateway", nullable: true)] | |
| public readonly ?string $value; | |
| /** | |
| * @param null|string $value | |
| * @return void | |
| */ | |
| public function __construct(?string $value = null) | |
| { | |
| $this->value = $value; | |
| } | |
| /** @inheritDoc */ | |
| public function jsonSerialize(): ?string | |
| { | |
| return $this->value; | |
| } | |
| } | |