PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Infrastructure / WP / Integrations / WooCommerce / StarterWooCommerceService.php
ameliabooking / src / Infrastructure / WP / Integrations / WooCommerce Last commit date
StarterWooCommerceService.php 1 year ago
StarterWooCommerceService.php
60 lines
1 <?php
2
3 namespace AmeliaBooking\Infrastructure\WP\Integrations\WooCommerce;
4
5 use AmeliaBooking\Domain\Services\Settings\SettingsService;
6
7 /**
8 * Class StarterWooCommerceService
9 *
10 * @package AmeliaBooking\Infrastructure\WP\Integrations\WooCommerce
11 */
12 class StarterWooCommerceService
13 {
14 /** @var SettingsService $settingsService */
15 public static $settingsService;
16
17 public const AMELIA = 'ameliabooking';
18
19 public static function init($settingsService)
20 {
21 }
22
23 public static function setContainer($container)
24 {
25 }
26
27 public static function isEnabled()
28 {
29 return false;
30 }
31
32 public static function getPaymentLink($orderId)
33 {
34 return [];
35 }
36
37 public static function createWcOrder($productId, $appointmentData, $price, $oldOrderId, $customer)
38 {
39 return null;
40 }
41
42 public static function updateItemMetaData($orderId, $reservation)
43 {
44 }
45
46 public static function getCacheData($orderId)
47 {
48 return null;
49 }
50
51 public static function getIdForExistingOrNewProduct($postId)
52 {
53 return $postId;
54 }
55
56 public static function getInitialProducts()
57 {
58 }
59 }
60