line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
7
|
|
|
7
|
|
1853
|
use strict; |
|
7
|
|
|
|
|
1861
|
|
|
7
|
|
|
|
|
3858
|
|
2
|
7
|
|
|
7
|
|
1837
|
use warnings; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
212
|
|
3
|
7
|
|
|
7
|
|
33
|
use MRO::Compat 'c3'; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
235
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package WebService::Shippo::CustomsDeclaration; |
6
|
7
|
|
|
|
|
1441
|
use base qw( |
7
|
|
|
|
|
|
|
WebService::Shippo::Item |
8
|
|
|
|
|
|
|
WebService::Shippo::Create |
9
|
|
|
|
|
|
|
WebService::Shippo::Fetch |
10
|
7
|
|
|
7
|
|
31
|
); |
|
7
|
|
|
|
|
12
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub api_resource () { 'customs/declarations' } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub collection_class () { 'WebService::Shippo::CustomsDeclarations' } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub item_class () { __PACKAGE__ } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
BEGIN { |
19
|
7
|
|
|
7
|
|
38
|
no warnings 'once'; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
252
|
|
20
|
7
|
|
|
7
|
|
215
|
*Shippo::CustomsDeclaration:: = *WebService::Shippo::CustomsDeclaration::; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=encoding utf8 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
WebService::Shippo::CustomsDeclaration - Customs Declaration class |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 VERSION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
version 0.0.21 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 DESCRIPTION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Customs declarations are relevant information, including one or |
40
|
|
|
|
|
|
|
multiple customs items, you need to provide for customs clearance |
41
|
|
|
|
|
|
|
for your international shipments. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 API DOCUMENTATION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
For more information about Customs Declarations, consult the Shippo API |
46
|
|
|
|
|
|
|
documentation: |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=over 2 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item * L |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=back |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 REPOSITORY |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=over 2 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * L |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * L |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=back |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHOR |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Iain Campbell |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Iain Campbell. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
You may distribute this software under the terms of either the GNU General |
73
|
|
|
|
|
|
|
Public License or the Artistic License, as specified in the Perl README |
74
|
|
|
|
|
|
|
file. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=cut |