# woocommerce-pos/1.10.6/includes/Interfaces/Receipt_Output_Adapter_Interface.php

WCPOS – Point of Sale (POS) plugin for WooCommerce, version 1.10.6. 24 lines.

- Page: https://pluginprobe.com/plugins/woocommerce-pos/1.10.6/code/includes/Interfaces/Receipt_Output_Adapter_Interface.php
- Raw: https://pluginprobe.com/plugins/woocommerce-pos/1.10.6/raw/includes/Interfaces/Receipt_Output_Adapter_Interface.php
- Modified: 2026-05-15T18:12:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/woocommerce-pos/1.10.6/code/includes/Interfaces/Receipt_Output_Adapter_Interface.php#L10-L20`.

```php
<?php
/**
 * Receipt output adapter interface.
 *
 * @package WCPOS\WooCommercePOS\Interfaces
 */

namespace WCPOS\WooCommercePOS\Interfaces;

/**
 * Receipt_Output_Adapter_Interface interface.
 */
interface Receipt_Output_Adapter_Interface {
	/**
	 * Convert canonical receipt payload to target output format.
	 *
	 * @param array $receipt_data Canonical payload.
	 * @param array $context      Optional adapter context.
	 *
	 * @return string
	 */
	public function transform( array $receipt_data, array $context = array() ): string;
}

```
