public function listForId($orderId, array $parameters = [])
    {
        $this->parentId = $orderId;

        return parent::rest_list(null, null, $parameters);
    }
public function listForId($orderId, array $parameters = [])
    {
        $this->parentId = $orderId;

        return parent::rest_list(null, null, $parameters);
    }
public function listForId ( $ orderId , array $ parameters = [ ] ) { $ this -> parentId = $ orderId ; return parent :: rest_list ( null , null , $ parameters ) ; }
Return all shipments for the provided Order id.

@param string $orderId
@param array $parameters

@return \Mollie\Api\Resources\BaseCollection|\Mollie\Api\Resources\ShipmentCollection
@throws \Mollie\Api\Exceptions\ApiException
Return all shipments for the provided Order id .