PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.17
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.17
1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 1.9.14 1.9.13 1.9.12 All 161 releases
woocommerce-pos / includes / Interfaces / Receipt_Output_Adapter_Interface.php

Receipt_Output_Adapter_Interface.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.17, at includes/Interfaces/Receipt_Output_Adapter_Interface.php

24 lines 537 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Receipt output adapter interface.
4 *
5 * @package WCPOS\WooCommercePOS\Interfaces
6 */
7
8 namespace WCPOS\WooCommercePOS\Interfaces;
9
10 /**
11 * Receipt_Output_Adapter_Interface interface.
12 */
13 interface Receipt_Output_Adapter_Interface {
14 /**
15 * Convert canonical receipt payload to target output format.
16 *
17 * @param array $receipt_data Canonical payload.
18 * @param array $context Optional adapter context.
19 *
20 * @return string
21 */
22 public function transform( array $receipt_data, array $context = array() ): string;
23 }
24