PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
charitable / vendor / square / square / src / Legacy / Models / Builders / BulkDeleteOrderCustomAttributesRequestDeleteCustomAttributeBuilder.php

BulkDeleteOrderCustomAttributesRequestDeleteCustomAttributeBuilder.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at vendor/square/square/src/Legacy/Models/Builders/BulkDeleteOrderCustomAttributesRequestDeleteCustomAttributeBuilder.php

56 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Square\Legacy\Models\Builders;
6
7 use Core\Utils\CoreHelper;
8 use Square\Legacy\Models\BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute;
9
10 /**
11 * Builder for model BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute
12 *
13 * @see BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute
14 */
15 class BulkDeleteOrderCustomAttributesRequestDeleteCustomAttributeBuilder
16 {
17 /**
18 * @var BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute
19 */
20 private $instance;
21
22 private function __construct(BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute $instance)
23 {
24 $this->instance = $instance;
25 }
26
27 /**
28 * Initializes a new Bulk Delete Order Custom Attributes Request Delete Custom Attribute Builder object.
29 *
30 * @param string $orderId
31 */
32 public static function init(string $orderId): self
33 {
34 return new self(new BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute($orderId));
35 }
36
37 /**
38 * Sets key field.
39 *
40 * @param string|null $value
41 */
42 public function key(?string $value): self
43 {
44 $this->instance->setKey($value);
45 return $this;
46 }
47
48 /**
49 * Initializes a new Bulk Delete Order Custom Attributes Request Delete Custom Attribute object.
50 */
51 public function build(): BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute
52 {
53 return CoreHelper::clone($this->instance);
54 }
55 }
56