line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
7
|
|
|
7
|
|
43
|
use strict; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
206
|
|
2
|
7
|
|
|
7
|
|
42
|
use warnings; |
|
7
|
|
|
|
|
20
|
|
|
7
|
|
|
|
|
207
|
|
3
|
7
|
|
|
7
|
|
50
|
use MRO::Compat 'c3'; |
|
7
|
|
|
|
|
20
|
|
|
7
|
|
|
|
|
317
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package WebService::Shippo::Refund; |
6
|
7
|
|
|
|
|
1626
|
use base qw( |
7
|
|
|
|
|
|
|
WebService::Shippo::Resource |
8
|
|
|
|
|
|
|
WebService::Shippo::Create |
9
|
|
|
|
|
|
|
WebService::Shippo::Fetch |
10
|
|
|
|
|
|
|
WebService::Shippo::Async |
11
|
7
|
|
|
7
|
|
40
|
); |
|
7
|
|
|
|
|
13
|
|
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
|
|
45
|
no warnings 'once'; |
|
7
|
|
|
|
|
24
|
|
|
7
|
|
|
|
|
274
|
|
21
|
7
|
|
|
7
|
|
244
|
*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.20 |
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 |