File "BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder.php"

Full Path: /home/capoeirajd/www/wp-content/plugins/wpforms-lite/vendor_prefixed/square/square/src/Models/Builders/BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder.php
File size: 1.62 KB
MIME-type: text/x-php
Charset: utf-8

<?php

declare (strict_types=1);
namespace WPForms\Vendor\Square\Models\Builders;

use WPForms\Vendor\Core\Utils\CoreHelper;
use WPForms\Vendor\Square\Models\BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest;
/**
 * Builder for model BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest
 *
 * @see BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest
 */
class BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequestBuilder
{
    /**
     * @var BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest
     */
    private $instance;
    private function __construct(BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest $instance)
    {
        $this->instance = $instance;
    }
    /**
     * Initializes a new Bulk Delete Location Custom Attributes Request Location Custom Attribute Delete
     * Request Builder object.
     */
    public static function init() : self
    {
        return new self(new BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest());
    }
    /**
     * Sets key field.
     *
     * @param string|null $value
     */
    public function key(?string $value) : self
    {
        $this->instance->setKey($value);
        return $this;
    }
    /**
     * Initializes a new Bulk Delete Location Custom Attributes Request Location Custom Attribute Delete
     * Request object.
     */
    public function build() : BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest
    {
        return CoreHelper::clone($this->instance);
    }
}