line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Business::Shipping::UPS_Online::Package; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Business::Shipping::UPS_Online::Package |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 METHODS |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=over 4 |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
691844
|
use Any::Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
15
|
|
14
|
1
|
|
|
1
|
|
905
|
use Business::Shipping::Package; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
15
|
1
|
|
|
1
|
|
7
|
use version; our $VERSION = qv('400'); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
extends 'Business::Shipping::Package'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=item * packaging |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
UPS_Online-only attribute. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=item * signature_type |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
UPS_Online-only attrbute. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
If not set, then DeliveryConfirmation/DCISType will not be sent to UPS. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Possible values: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1 - No signature required. |
32
|
|
|
|
|
|
|
2 - Signature required. |
33
|
|
|
|
|
|
|
3 - Adult signature required. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Only valid for US domestic shipments. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item * insured_currency_type |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
UPS_Online-only attribute |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Used in conjunction with insured_value. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * insured_value |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
UPS_Online-only attribute |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
has 'packaging' => ( |
50
|
|
|
|
|
|
|
is => 'rw', |
51
|
|
|
|
|
|
|
isa => 'Str', |
52
|
|
|
|
|
|
|
default => '02', |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
has 'signature_type' => (is => 'rw'); |
56
|
|
|
|
|
|
|
has 'insured_currency_type' => (is => 'rw'); |
57
|
|
|
|
|
|
|
has 'insured_value' => (is => 'rw'); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
# NOTE: Causes "Unsupported packaging requested." error. |
60
|
|
|
|
|
|
|
#__PACKAGE__->meta()->make_immutable(); |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
1; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
__END__ |