public function get($methodId, array $parameters = [])
    {
        if (empty($methodId)) {
            throw new ApiException("Method ID is empty.");
        }

        return parent::rest_read($methodId, $parameters);
    }
public function get($methodId, array $parameters = [])
    {
        if (empty($methodId)) {
            throw new ApiException("Method ID is empty.");
        }

        return parent::rest_read($methodId, $parameters);
    }
public function get ( $ methodId , array $ parameters = [ ] ) { if ( empty ( $ methodId ) ) { throw new ApiException ( "Method ID is empty." ) ; } return parent :: rest_read ( $ methodId , $ parameters ) ; }
Retrieve a payment method from Mollie.

Will throw a ApiException if the method id is invalid or the resource cannot be found.

@param string $methodId
@param array $parameters
@return \Mollie\Api\Resources\BaseResource|\Mollie\Api\Resources\Method
@throws ApiException
Retrieve a payment method from Mollie .