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 / Orders / CustomAttributes / Requests / DeleteCustomAttributesRequest.php

DeleteCustomAttributesRequest.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at vendor/square/square/src/Orders/CustomAttributes/Requests/DeleteCustomAttributesRequest.php

69 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Square\Orders\CustomAttributes\Requests;
4
5 use Square\Core\Json\JsonSerializableType;
6
7 class DeleteCustomAttributesRequest extends JsonSerializableType
8 {
9 /**
10 * @var string $orderId The ID of the target [order](entity:Order).
11 */
12 private string $orderId;
13
14 /**
15 * The key of the custom attribute to delete. This key must match the key of an
16 * existing custom attribute definition.
17 *
18 * @var string $customAttributeKey
19 */
20 private string $customAttributeKey;
21
22 /**
23 * @param array{
24 * orderId: string,
25 * customAttributeKey: string,
26 * } $values
27 */
28 public function __construct(
29 array $values,
30 ) {
31 $this->orderId = $values['orderId'];
32 $this->customAttributeKey = $values['customAttributeKey'];
33 }
34
35 /**
36 * @return string
37 */
38 public function getOrderId(): string
39 {
40 return $this->orderId;
41 }
42
43 /**
44 * @param string $value
45 */
46 public function setOrderId(string $value): self
47 {
48 $this->orderId = $value;
49 return $this;
50 }
51
52 /**
53 * @return string
54 */
55 public function getCustomAttributeKey(): string
56 {
57 return $this->customAttributeKey;
58 }
59
60 /**
61 * @param string $value
62 */
63 public function setCustomAttributeKey(string $value): self
64 {
65 $this->customAttributeKey = $value;
66 return $this;
67 }
68 }
69