%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/vendor/omnipay/stripe/src/Message/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/vendor/omnipay/stripe/src/Message/FetchEventRequest.php

<?php

/**
 * Stripe Fetch Event Request.
 */
namespace Omnipay\Stripe\Message;

/**
 * Stripe Fetch Event Request.
 *
 * @link https://stripe.com/docs/api/curl#retrieve_event
 */
class FetchEventRequest extends AbstractRequest
{
    /**
     * Get the event reference.
     *
     * @return string
     */
    public function getEventReference()
    {
        return $this->getParameter('eventReference');
    }

    /**
     * Set the event reference.
     *
     * @return FetchEventRequest provides a fluent interface.
     */
    public function setEventReference($value)
    {
        return $this->setParameter('eventReference', $value);
    }

    public function getData()
    {
        $this->validate('eventReference');
        $data = array();

        return $data;
    }

    public function getEndpoint()
    {
        return $this->endpoint.'/events/'.$this->getEventReference();
    }

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

Zerion Mini Shell 1.0