PluginProbe
Sendy / 3.0.3
Sendy v3.0.3
3.4.6 3.4.7 trunk 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 All 32 releases
sendy / src / Repositories / Shipments.php

Shipments.php in Sendy 3.0.3, at src/Repositories/Shipments.php

20 lines 459 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Sendy\WooCommerce\Repositories;
4
5 class Shipments extends Repository
6 {
7 /**
8 * Fetch a shipment from the API
9 *
10 * @param string $shipmentId The UUID of the shipment
11 * @return array<string,mixed>
12 * @throws \GuzzleHttp\Exception\GuzzleException
13 * @throws \Sendy\Api\ApiException
14 */
15 public function get(string $shipmentId): array
16 {
17 return $this->connection->shipment->get($shipmentId);
18 }
19 }
20