public function get($orderId, array $parameters = [])
    {
        if (empty($orderId) || strpos($orderId, self::RESOURCE_ID_PREFIX) !== 0) {
            throw new ApiException("Invalid order ID: '{$orderId}'. An order ID should start with '".self::RESOURCE_ID_PREFIX."'.");
        }

        return parent::rest_read($orderId, $parameters);
    }
public function get($orderId, array $parameters = [])
    {
        if (empty($orderId) || strpos($orderId, self::RESOURCE_ID_PREFIX) !== 0) {
            throw new ApiException("Invalid order ID: '{$orderId}'. An order ID should start with '".self::RESOURCE_ID_PREFIX."'.");
        }

        return parent::rest_read($orderId, $parameters);
    }
public function get ( $ orderId , array $ parameters = [ ] ) { if ( empty ( $ orderId ) || strpos ( $ orderId , self :: RESOURCE_ID_PREFIX ) !== 0 ) { throw new ApiException ( "Invalid order ID: '{$orderId}'. An order ID should start with '" . self :: RESOURCE_ID_PREFIX . "'." ) ; } return parent :: rest_read ( $ orderId , $ parameters ) ; }
Retrieve a single order from Mollie.

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

@param string $paymentId
@param array $parameters
@return Order
@throws ApiException
Retrieve a single order from Mollie .