Sindbad~EG File Manager

Current Path : /proc/self/cwd/vendor/omnipay/stripe/src/Message/
Upload File :
Current File : //proc/self/cwd/vendor/omnipay/stripe/src/Message/ListInvoicesRequest.php

<?php

/**
 * Stripe List Invoices Request.
 */
namespace Omnipay\Stripe\Message;

/**
 * Stripe List Invoices Request.
 *
 * @see Omnipay\Stripe\Gateway
 * @link https://stripe.com/docs/api#list_invoices
 */
class ListInvoicesRequest extends AbstractRequest
{
    public function getData()
    {
        $data = array();

        return $data;
    }

    public function getEndpoint()
    {
        $endpoint = $this->endpoint.'/invoices';
        if ($customerReference = $this->getCustomerReference()) {
            return $endpoint . '?customer=' . $customerReference;
        }

        return $endpoint;
    }

    public function getHttpMethod()
    {
        return 'GET';
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists