PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / trunk
WCPOS – Point of Sale (POS) plugin for WooCommerce vtrunk
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 1.9.11 1.9.10 1.9.9 All 158 releases
woocommerce-pos / includes / Interfaces / Push_Provider_Adapter_Interface.php

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

26 lines 742 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Push cloud-print provider adapter interface.
4 *
5 * @package WCPOS\WooCommercePOS\Interfaces
6 */
7
8 namespace WCPOS\WooCommercePOS\Interfaces;
9
10 /**
11 * Push_Provider_Adapter_Interface interface.
12 */
13 interface Push_Provider_Adapter_Interface extends Provider_Adapter_Interface {
14 /**
15 * Submit rendered bytes to the provider.
16 *
17 * @param array $printer Printer configuration.
18 * @param array $job Print job data.
19 * @param string $payload Rendered payload bytes.
20 * @param string $title Provider job title.
21 *
22 * @return array{success:bool, retryable:bool, error:string, external_job_id:string, drawer_error:string}
23 */
24 public function submit( array $printer, array $job, string $payload, string $title ): array;
25 }
26