line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1287
|
use utf8; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
23
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Interchange6::Schema::Result::ShipmentCarrier; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Interchange6::Schema::Result::ShipmentCarrier |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
94
|
use Interchange6::Schema::Candy; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 ACCESSORS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head2 shipment_carriers_id |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Primary key. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
primary_column shipment_carriers_id => |
22
|
|
|
|
|
|
|
{ data_type => "integer", is_auto_increment => 1 }; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 name |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Short name of carrier, e.g.: USPS. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
column name => { |
31
|
|
|
|
|
|
|
data_type => "varchar", |
32
|
|
|
|
|
|
|
size => 255 |
33
|
|
|
|
|
|
|
}; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 title |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Full title of carrier. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Defaults to empty string. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
column title => { |
44
|
|
|
|
|
|
|
data_type => "varchar", |
45
|
|
|
|
|
|
|
default_value => "", |
46
|
|
|
|
|
|
|
size => 255 |
47
|
|
|
|
|
|
|
}; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 account_number |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Account number with carrier. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Defaults to empty string. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
column account_number => { |
58
|
|
|
|
|
|
|
data_type => "varchar", |
59
|
|
|
|
|
|
|
default_value => "", |
60
|
|
|
|
|
|
|
size => 255 |
61
|
|
|
|
|
|
|
}; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 active |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Whether carrier is active. Defaults to 1 (true). |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
column active => |
70
|
|
|
|
|
|
|
{ data_type => "boolean", default_value => 1 }; |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 RELATIONS |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 shipment_methods |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Type: has_many |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::ShipmentMethod> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
has_many |
83
|
|
|
|
|
|
|
shipment_methods => "Interchange6::Schema::Result::ShipmentMethod", |
84
|
|
|
|
|
|
|
"shipment_carriers_id", |
85
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }; |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
1; |