ameliabooking
/
src
/
Infrastructure
/
WP
/
Integrations
/
WooCommerce
/
StarterWooCommerceService.php
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 |