FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
src
/
Models
/
Builders
Edit File: CatalogV1IdBuilder.php
<?php declare(strict_types=1); namespace Square\Models\Builders; use Core\Utils\CoreHelper; use Square\Models\CatalogV1Id; /** * Builder for model CatalogV1Id * * @see CatalogV1Id */ class CatalogV1IdBuilder { /** * @var CatalogV1Id */ private $instance; private function __construct(CatalogV1Id $instance) { $this->instance = $instance; } /** * Initializes a new catalog v1 id Builder object. */ public static function init(): self { return new self(new CatalogV1Id()); } /** * Sets catalog v 1 id field. */ public function catalogV1Id(?string $value): self { $this->instance->setCatalogV1Id($value); return $this; } /** * Unsets catalog v 1 id field. */ public function unsetCatalogV1Id(): self { $this->instance->unsetCatalogV1Id(); return $this; } /** * Sets location id field. */ public function locationId(?string $value): self { $this->instance->setLocationId($value); return $this; } /** * Unsets location id field. */ public function unsetLocationId(): self { $this->instance->unsetLocationId(); return $this; } /** * Initializes a new catalog v1 id object. */ public function build(): CatalogV1Id { return CoreHelper::clone($this->instance); } }
Save
Back