File Coverage

lib/WebService/Shippo/Refunds.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1 7     7   38 use strict;
  7         17  
  7         193  
2 7     7   37 use warnings;
  7         17  
  7         197  
3 7     7   36 use MRO::Compat 'c3';
  7         15  
  7         359  
4              
5             package WebService::Shippo::Refunds;
6             require WebService::Shippo::Refund;
7 7         1337 use base qw(
8             WebService::Shippo::Collection
9             WebService::Shippo::Create
10             WebService::Shippo::Fetch
11 7     7   40 );
  7         11  
12              
13             sub item_class () { 'WebService::Shippo::Refund' }
14              
15             sub collection_class () { __PACKAGE__ }
16              
17             BEGIN {
18 7     7   41 no warnings 'once';
  7         15  
  7         248  
19 7     7   223 *Shippo::Refunds:: = *WebService::Shippo::Refunds::;
20             }
21              
22             1;
23              
24             =pod
25              
26             =encoding utf8
27              
28             =head1 NAME
29              
30             WebService::Shippo::CarrierAccount - Refund collection class
31              
32             =head1 VERSION
33              
34             version 0.0.19
35              
36             =head1 DESCRIPTION
37              
38             Refunds are reimbursements for successfully created but unused
39             L.
40              
41             Please keep the following in mind:
42              
43             =over 2
44              
45             =item * Once a Refund has been claimed, you must not use the shipping label
46             for actual postage.
47              
48             =item * Refunds take several days to be processed.
49              
50             =item * Some carriers (e.g. FedEx and UPS) don't require refunds, since
51             the corresponding labels will only be charged after they have been scanned;
52             however, the Shippo refund may be used for refunding of the $0.05 Shippo
53             label fee.
54              
55             =back
56              
57             =head1 API DOCUMENTATION
58              
59             For more information about Refunds, consult the Shippo API
60             documentation:
61              
62             =over 2
63              
64             =item * L
65              
66             =back
67              
68             =head1 REPOSITORY
69              
70             =over 2
71              
72             =item * L
73              
74             =item * L
75              
76             =back
77              
78             =head1 AUTHOR
79              
80             Iain Campbell
81              
82             =head1 COPYRIGHT AND LICENSE
83              
84             This software is copyright (c) 2015 by Iain Campbell.
85              
86             You may distribute this software under the terms of either the GNU General
87             Public License or the Artistic License, as specified in the Perl README
88             file.
89              
90             =cut