File Coverage

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