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

seQura, version 3.0.7. 59 lines.

- Page: https://pluginprobe.com/plugins/sequra/3.0.7/code/src/Controllers/Hooks/Payment/interface-payment-controller.php
- Raw: https://pluginprobe.com/plugins/sequra/3.0.7/raw/src/Controllers/Hooks/Payment/interface-payment-controller.php
- Modified: 2024-12-04T15:55:12+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.7/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 );

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

	/**
	 * Register the payment gateway block class
	 * 
	 * @param PaymentMethodRegistry $payment_method_registry The payment method registry.
	 * @return void
	 */
	public function register_gateway_gutenberg_block_class( $payment_method_registry );

	/**
	 * Append text after the thank you message on the order received page
	 * 
	 * @param string $text The text to append.
	 * @param mixed $order The order object.
	 * @return string
	 */
	public function order_received_text( $text, $order );

	/**
	 * Set the proper payment method description in the order
	 * 
	 * @param string $value The payment method title.
	 * @param mixed $order The order object.
	 * @return string
	 */
	public function order_get_payment_method_title( $value, $order );
}

```
