• File: FetchPaymentMethodsResponseInterface.php
  • Full Path: /var/www/crm_set/application/vendor/omnipay/common/src/Common/Message/FetchPaymentMethodsResponseInterface.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 841 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Fetch Payment Methods Response interface
 */

namespace Omnipay\Common\Message;

/**
 * Fetch Payment Methods Response interface
 *
 * This interface class defines the functionality of a response
 * that is a "fetch payment method" response.  It extends the ResponseInterface
 * interface class with some extra functions relating to the
 * specifics of a response to fetch the payment method from the gateway.
 * This happens when the gateway needs the customer to choose a
 * payment method.
 *
 */
interface FetchPaymentMethodsResponseInterface extends ResponseInterface
{
    /**
     * Get the returned list of payment methods.
     *
     * These represent separate payment methods which the user must choose between.
     *
     * @return \Omnipay\Common\PaymentMethod[]
     */
    public function getPaymentMethods();
}