line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::FlatRateInsuranceRangeCostType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1187
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
55
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. FlatRateInsuranceRangeCostType.pm |
12
|
|
|
|
|
|
|
# Generated by: ......... genEBayApiDataTypes.pl |
13
|
|
|
|
|
|
|
# Last Generated: ....... 08/24/2008 16:44 |
14
|
|
|
|
|
|
|
# API Release Number: ... 579 |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
########################################################################## |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
eBay::API::XML::DataType::FlatRateInsuranceRangeCostType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
A pairing of range and insurance cost. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::FlatRateInsuranceRangeCostType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
43
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::FlatRateInsuranceRangeCodeType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'FlatRateInsuranceRange', 'ns:FlatRateInsuranceRangeCodeType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::FlatRateInsuranceRangeCodeType', '' ] |
48
|
|
|
|
|
|
|
, [ 'InsuranceCost', 'ns:AmountType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my @gaAttributes = ( |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 Subroutines: |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub new { |
62
|
|
|
|
|
|
|
my $classname = shift; |
63
|
|
|
|
|
|
|
my %args = @_; |
64
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
65
|
|
|
|
|
|
|
return $self; |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub isScalar { |
69
|
|
|
|
|
|
|
return 0; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 setFlatRateInsuranceRange() |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
The price range for the shipment for which the insurance cost is being specified. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Calls: SetShippingDiscountProfiles |
79
|
|
|
|
|
|
|
SetUserPreferences |
80
|
|
|
|
|
|
|
RequiredInput: No |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'ns:FlatRateInsuranceRangeCodeType' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setFlatRateInsuranceRange { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'FlatRateInsuranceRange'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getFlatRateInsuranceRange() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Calls: GetShippingDiscountProfiles |
94
|
|
|
|
|
|
|
GetUserPreferences |
95
|
|
|
|
|
|
|
Returned: Conditionally |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
# Returns: 'ns:FlatRateInsuranceRangeCodeType' |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
sub getFlatRateInsuranceRange { |
102
|
|
|
|
|
|
|
my $self = shift; |
103
|
|
|
|
|
|
|
return $self->{'FlatRateInsuranceRange'}; |
104
|
|
|
|
|
|
|
} |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 setInsuranceCost() |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The cost of insurance for the specified price range. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Calls: SetShippingDiscountProfiles |
112
|
|
|
|
|
|
|
SetUserPreferences |
113
|
|
|
|
|
|
|
RequiredInput: No |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
sub setInsuranceCost { |
120
|
|
|
|
|
|
|
my $self = shift; |
121
|
|
|
|
|
|
|
$self->{'InsuranceCost'} = shift |
122
|
|
|
|
|
|
|
} |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 getInsuranceCost() |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Calls: GetShippingDiscountProfiles |
127
|
|
|
|
|
|
|
GetUserPreferences |
128
|
|
|
|
|
|
|
Returned: Conditionally |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=cut |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
sub getInsuranceCost { |
135
|
|
|
|
|
|
|
my $self = shift; |
136
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'InsuranceCost' |
137
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
## Attribute and Property lists |
145
|
|
|
|
|
|
|
sub getPropertiesList { |
146
|
|
|
|
|
|
|
my $self = shift; |
147
|
|
|
|
|
|
|
return \@gaProperties; |
148
|
|
|
|
|
|
|
} |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
sub getAttributesList { |
151
|
|
|
|
|
|
|
my $self = shift; |
152
|
|
|
|
|
|
|
return \@gaAttributes; |
153
|
|
|
|
|
|
|
} |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
1; |