# NAME

Shipment - Interface to Popular Shipping Services

# VERSION

version 0.02

# SYNOPSIS

    use Shipment;

    my $shipment = Shipment->new;
       

     $shipment->ups(
        from_address => $shipment->address(...),
        to_address => $shipment->address(...),
        packages => [$shipment->package(...)]
     );

    foreach my $service ( $shipment->all_services ) {
      print $service->id . "\n";
    }

    $shipment->rate( 'express' );
    print $service->cost . "\n";

    $shipment->ship( 'ground' );
    $shipment->get_package(0)->label->save;

# DESCRIPTION

This library provides an interface to popular shipping/courier services. See the
eg (examples) directory for clues about getting up-and-running. Better
documentation coming soon...

# METHODS

## generic

The generic method returns a [Shipment::Generic](http://search.cpan.org/perldoc?Shipment::Generic) object. See [Shipment::Generic](http://search.cpan.org/perldoc?Shipment::Generic) for
more details.

## fedex

The fedex method returns a [Shipment::FedEx](http://search.cpan.org/perldoc?Shipment::FedEx) object. See [Shipment::FedEx](http://search.cpan.org/perldoc?Shipment::FedEx) for
more details.

## purolator

The purolator method returns a [Shipment::Purolator](http://search.cpan.org/perldoc?Shipment::Purolator) object. See
[Shipment::Purolator](http://search.cpan.org/perldoc?Shipment::Purolator) for more details.

## ups

The ups method returns a [Shipment::UPS](http://search.cpan.org/perldoc?Shipment::UPS) object. See [Shipment::UPS](http://search.cpan.org/perldoc?Shipment::UPS) for
more details.

## temando

The temando method returns a [Shipment::Temando](http://search.cpan.org/perldoc?Shipment::Temando) object. See [Shipment::Temando](http://search.cpan.org/perldoc?Shipment::Temando) for
more details.

## address

The address method returns a [Shipment::Address](http://search.cpan.org/perldoc?Shipment::Address) object.
See [Shipment::Address](http://search.cpan.org/perldoc?Shipment::Address) for more details.

## package

The package method returns a [Shipment::Package](http://search.cpan.org/perldoc?Shipment::Package) object.
See [Shipment::Package](http://search.cpan.org/perldoc?Shipment::Package) for more details.

# AUTHORS

- Andrew Baerg <baergaj@cpan.org>
- Al Newkirk <awncorp@cpan.org>

# COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Andrew Baerg.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
