src/Message/AbstractRequest.php
protected function getEndpoint()
    {
        $locale = $this->getLocale();
        $account = $this->getAccountId();
        $method = $this->getPaymentMethod();
        return '/' . $locale . '/api/' . $account . '/transactions/' . $method . '/new';
    }
protected function getEndpoint()
    {
        $locale = $this->getLocale();
        $account = $this->getAccountId();
        $method = $this->getPaymentMethod();
        return '/' . $locale . '/api/' . $account . '/transactions/' . $method . '/new';
    }
protected function getEndpoint ( ) { $ locale = $ this -> getLocale ( ) ; $ account = $ this -> getAccountId ( ) ; $ method = $ this -> getPaymentMethod ( ) ; return '/' . $ locale . '/api/' . $ account . '/transactions/' . $ method . '/new' ; }
Generate the endpoint based on the current options.

@return string
Generate the endpoint based on the current options .