charitable
/
vendor
/
square
/
square
/
src
/
Inventory
/
Requests
/
DeprecatedGetPhysicalCountInventoryRequest.php
DeprecatedGetPhysicalCountInventoryRequest.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at vendor/square/square/src/Inventory/Requests/DeprecatedGetPhysicalCountInventoryRequest.php
| 1 | <?php |
| 2 | |
| 3 | namespace Square\Inventory\Requests; |
| 4 | |
| 5 | use Square\Core\Json\JsonSerializableType; |
| 6 | |
| 7 | class DeprecatedGetPhysicalCountInventoryRequest extends JsonSerializableType |
| 8 | { |
| 9 | /** |
| 10 | * ID of the |
| 11 | * [InventoryPhysicalCount](entity:InventoryPhysicalCount) to retrieve. |
| 12 | * |
| 13 | * @var string $physicalCountId |
| 14 | */ |
| 15 | private string $physicalCountId; |
| 16 | |
| 17 | /** |
| 18 | * @param array{ |
| 19 | * physicalCountId: string, |
| 20 | * } $values |
| 21 | */ |
| 22 | public function __construct( |
| 23 | array $values, |
| 24 | ) { |
| 25 | $this->physicalCountId = $values['physicalCountId']; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * @return string |
| 30 | */ |
| 31 | public function getPhysicalCountId(): string |
| 32 | { |
| 33 | return $this->physicalCountId; |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * @param string $value |
| 38 | */ |
| 39 | public function setPhysicalCountId(string $value): self |
| 40 | { |
| 41 | $this->physicalCountId = $value; |
| 42 | return $this; |
| 43 | } |
| 44 | } |
| 45 |