File "PaymentMethodFundingInterface.php"

Full Path: /home/stylijtl/public_html/wp-content/plugins/wpforms-lite/src/Integrations/PayPalCommerce/Frontend/PaymentMethodFundingInterface.php
File size: 810 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace WPForms\Integrations\PayPalCommerce\Frontend;

/**
 * Interface representing payment method funding operations.
 *
 * @since 1.10.0
 */
interface PaymentMethodFundingInterface {

	/**
	 * Retrieves a list of disabled methods.
	 *
	 * @since 1.10.0
	 *
	 * @param bool $is_single Whether to consider One-Time Payment or Recurring. Defaults to One-Time.
	 *
	 * @return array An array of disabled method names.
	 */
	public function get_disabled_methods( bool $is_single = true ): array;

	/**
	 * Retrieves a list of enabled methods.
	 *
	 * @since 1.10.0
	 *
	 * @param bool $is_single Whether to consider One-Time Payment or Recurring. Defaults to One-Time.
	 *
	 * @return array An array of enabled method names.
	 */
	public function get_enabled_methods( bool $is_single = true ): array;
}