PluginProbe
StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More / 2.2.0
StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More v2.2.0
2.3.0 2.2.0 2.1.1 2.1.0 2.0.0 1.10.0 1.9.1 1.9.0 1.2.1 1.2.2 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 All 59 releases
storeengine / includes / interfaces / order-status.php

order-status.php in StoreEngine — Complete eCommerce Solution with Memberships, Licensing, Affiliates & More 2.2.0, at includes/interfaces/order-status.php

21 lines 455 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace StoreEngine\Interfaces;
3
4 use StoreEngine\Classes\OrderContext;
5
6 interface OrderStatus {
7 /**
8 * @param OrderContext $context
9 * @param string $trigger
10 */
11 public function proceed_to_next_status( OrderContext $context, string $trigger = '' );
12
13 public function get_status(): string;
14
15 public function get_status_title(): string;
16
17 public function get_possible_next_statuses(): array;
18
19 public function get_possible_triggers(): array;
20 }
21