# sequra/3.0.0/src/Controllers/Hooks/Payment/interface-payment-controller.php

seQura, version 3.0.0. 46 lines.

- Page: https://pluginprobe.com/plugins/sequra/3.0.0/code/src/Controllers/Hooks/Payment/interface-payment-controller.php
- Raw: https://pluginprobe.com/plugins/sequra/3.0.0/raw/src/Controllers/Hooks/Payment/interface-payment-controller.php
- Modified: 2024-10-29T15:19:22+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/sequra/3.0.0/code/src/Controllers/Hooks/Payment/interface-payment-controller.php#L10-L20`.

```php
<?php
/**
 * Payment Controller interface
 *
 * @package    SeQura/WC
 * @subpackage SeQura/WC/Controllers
 */

namespace SeQura\WC\Controllers\Hooks\Payment;

use Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry;

/**
 * Respond to payment hooks
 */
interface Interface_Payment_Controller {

	/**
	 * Register the gateway classes so that they can be used by WooCommerce
	 *
	 * @param string[] $gateways
	 * @return string[]
	 */
	public function register_gateway_classes( $gateways ): array;

	/**
	 * Register the payment gateway block so that it can be used by Gutenberg
	 */
	public function register_gateway_gutenberg_block(): void;

	/**
	 * Register the payment gateway block class
	 */
	public function register_gateway_gutenberg_block_class( PaymentMethodRegistry $payment_method_registry ): void;

	/**
	 * Append text after the thank you message on the order received page
	 */
	public function order_received_text( string $text, mixed $order ): string;

	/**
	 * Set the proper payment method description in the order
	 */
	public function order_get_payment_method_title( string $value, mixed $order ): string;
}

```
