- Class Attributes
- NO WARRANTY
- COPYRIGHT AND LICENSE
use Shipment::Service; use Data::Currency; my $service = Shipment::Service->new( id => '02', name => 'Domestic Ground', cost => Data::Currency->new(10, 'USD'), );
Shipment::Service - a shipping service
This class defines a shipping service. It is used in a Shipment::Base class for listing available services or storing details about a rate.
The service id and carrier id as defined by a shipping service
A descriptive name for the service
The package type accepted by this service
The estimated transit days for the service
The shipment date
The estimated time of arrival
Whether or not the eta is guaranteed by the carrier
The cost of the service
Any extra charges and adjustments that will be applied, but are not included in the cost
Available options for the service (this attribute was added for Purolator)
Extra service charges (Insurance, Carbon Offset, etc) - this attribute was added for Temando
Andrew Baerg @ <andrew at pullingshots dot ca>
Issues can be submitted at https://github.com/pullingshots/Shipment/issues
Copyright (C) 2016 Andrew J Baerg, All Rights Reserved
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Andrew Baerg <email@example.com>
This software is copyright (c) 2018 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.