File "BulkDeleteLocationCustomAttributesRequestBuilder.php"
Full Path: /home/capoeirajd/www/wp-content/plugins/wpforms-lite/vendor_prefixed/square/square/src/Models/Builders/BulkDeleteLocationCustomAttributesRequestBuilder.php
File size: 1.3 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\BulkDeleteLocationCustomAttributesRequest;
use WPForms\Vendor\Square\Models\BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest;
/**
* Builder for model BulkDeleteLocationCustomAttributesRequest
*
* @see BulkDeleteLocationCustomAttributesRequest
*/
class BulkDeleteLocationCustomAttributesRequestBuilder
{
/**
* @var BulkDeleteLocationCustomAttributesRequest
*/
private $instance;
private function __construct(BulkDeleteLocationCustomAttributesRequest $instance)
{
$this->instance = $instance;
}
/**
* Initializes a new Bulk Delete Location Custom Attributes Request Builder object.
*
* @param array<string,BulkDeleteLocationCustomAttributesRequestLocationCustomAttributeDeleteRequest> $values
*/
public static function init(array $values) : self
{
return new self(new BulkDeleteLocationCustomAttributesRequest($values));
}
/**
* Initializes a new Bulk Delete Location Custom Attributes Request object.
*/
public function build() : BulkDeleteLocationCustomAttributesRequest
{
return CoreHelper::clone($this->instance);
}
}