Freight Rating

RocketShipIt is capable of rating freight shipments. Here are a few examples:

FedEx

Example:

<?php
$rate = new \RocketShipIt\Rate('fedex');

$rate->setParameter('freightAccountNumber', '123123123');
$rate->setParameter('freightClass', 'CLASS_055');

$rate->setParameter('toCode', '94115');
$rate->setParameter('toCity', 'San Francisco'); // city required
$rate->setParameter('toState', 'CA'); // state required
$package->setParameter('weight', '80');

$response = $rate->getSimpleRates();

Example Response:

Array
(
    [0] => Array
        (
            [desc] => FedEx Freight® Economy
            [rate] => 647.03
            [service_code] => FEDEX_FREIGHT_ECONOMY
        )

    [1] => Array
        (
            [desc] => FedEx Freight® Priority
            [rate] => 736.16
            [service_code] => FEDEX_FREIGHT_PRIORITY
        )

)