| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::CalculatedShippingRateType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1054
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
24
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
25
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. CalculatedShippingRateType.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::CalculatedShippingRateType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Details pertinent to one or more items for which |
|
25
|
|
|
|
|
|
|
calculated shipping has been offered by the seller, such as package |
|
26
|
|
|
|
|
|
|
dimension and weight and packaging/handling costs. Also returned |
|
27
|
|
|
|
|
|
|
with the data for an item's transaction. |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::DataType::CalculatedShippingRateType inherits from the L class |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
|
41
|
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
35
|
use eBay::API::XML::BaseDataType; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
|
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::MeasureType; |
|
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::MeasurementSystemCodeType; |
|
48
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::ShippingPackageCodeType; |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaProperties = ( [ 'InternationalPackagingHandlingCosts', 'ns:AmountType', '' |
|
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
|
53
|
|
|
|
|
|
|
, [ 'MeasurementUnit', 'ns:MeasurementSystemCodeType', '' |
|
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::MeasurementSystemCodeType', '' ] |
|
55
|
|
|
|
|
|
|
, [ 'OriginatingPostalCode', 'xs:string', '', '', '' ] |
|
56
|
|
|
|
|
|
|
, [ 'PackageDepth', 'ns:MeasureType', '' |
|
57
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType', '1' ] |
|
58
|
|
|
|
|
|
|
, [ 'PackageLength', 'ns:MeasureType', '' |
|
59
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType', '1' ] |
|
60
|
|
|
|
|
|
|
, [ 'PackageWidth', 'ns:MeasureType', '' |
|
61
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType', '1' ] |
|
62
|
|
|
|
|
|
|
, [ 'PackagingHandlingCosts', 'ns:AmountType', '' |
|
63
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
|
64
|
|
|
|
|
|
|
, [ 'ShippingIrregular', 'xs:boolean', '', '', '' ] |
|
65
|
|
|
|
|
|
|
, [ 'ShippingPackage', 'ns:ShippingPackageCodeType', '' |
|
66
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::ShippingPackageCodeType', '' ] |
|
67
|
|
|
|
|
|
|
, [ 'WeightMajor', 'ns:MeasureType', '' |
|
68
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType', '1' ] |
|
69
|
|
|
|
|
|
|
, [ 'WeightMinor', 'ns:MeasureType', '' |
|
70
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType', '1' ] |
|
71
|
|
|
|
|
|
|
); |
|
72
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
my @gaAttributes = ( |
|
75
|
|
|
|
|
|
|
); |
|
76
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 Subroutines: |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub new { |
|
83
|
|
|
|
|
|
|
my $classname = shift; |
|
84
|
|
|
|
|
|
|
my %args = @_; |
|
85
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
|
86
|
|
|
|
|
|
|
return $self; |
|
87
|
|
|
|
|
|
|
} |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
sub isScalar { |
|
90
|
|
|
|
|
|
|
return 0; |
|
91
|
|
|
|
|
|
|
} |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 setInternationalPackagingHandlingCosts() |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Fees a seller might assess for the shipping of the item (in addition to |
|
98
|
|
|
|
|
|
|
whatever the shipping service might charge). |
|
99
|
|
|
|
|
|
|
Any packaging/handling cost specified on input is added to each shipping |
|
100
|
|
|
|
|
|
|
service on output. |
|
101
|
|
|
|
|
|
|
If domestic and international calculated shipping is offered for an item and |
|
102
|
|
|
|
|
|
|
if packaging/handling cost is specified only for domestic shipping, that cost |
|
103
|
|
|
|
|
|
|
will be applied by eBay as the international packaging/handling cost. (To |
|
104
|
|
|
|
|
|
|
specify a international packaging/handling cost, you must always specify a |
|
105
|
|
|
|
|
|
|
domestic packaging/handling cost, even if it is 0.) |
|
106
|
|
|
|
|
|
|
For international calculated shipping only. |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Calls: AddItem |
|
109
|
|
|
|
|
|
|
RelistItem |
|
110
|
|
|
|
|
|
|
ReviseItem |
|
111
|
|
|
|
|
|
|
VerifyAddItem |
|
112
|
|
|
|
|
|
|
RequiredInput: No |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=cut |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
sub setInternationalPackagingHandlingCosts { |
|
119
|
|
|
|
|
|
|
my $self = shift; |
|
120
|
|
|
|
|
|
|
$self->{'InternationalPackagingHandlingCosts'} = shift |
|
121
|
|
|
|
|
|
|
} |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 getInternationalPackagingHandlingCosts() |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
Calls: GetBidderList |
|
126
|
|
|
|
|
|
|
GetItemShipping |
|
127
|
|
|
|
|
|
|
GetSellerList |
|
128
|
|
|
|
|
|
|
Returned: Conditionally |
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Calls: GetItem |
|
131
|
|
|
|
|
|
|
Returned: Always |
|
132
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
133
|
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
135
|
|
|
|
|
|
|
GetSellerTransactions |
|
136
|
|
|
|
|
|
|
Returned: Conditionally |
|
137
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub getInternationalPackagingHandlingCosts { |
|
144
|
|
|
|
|
|
|
my $self = shift; |
|
145
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'InternationalPackagingHandlingCosts' |
|
146
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
|
147
|
|
|
|
|
|
|
} |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head2 setMeasurementUnit() |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
Specifies the unit type of the weight and dimensions of a |
|
153
|
|
|
|
|
|
|
shipping package. |
|
154
|
|
|
|
|
|
|
If MeasurementUnit is used, it overrides the system specified by measurementSystem. |
|
155
|
|
|
|
|
|
|
If MeasurementUnit and measurementSystem are not specified, the following defaults |
|
156
|
|
|
|
|
|
|
will be used: |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
English: US |
|
159
|
|
|
|
|
|
|
Metric: CA, CAFR, AU |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
CA and CAFR supports both English and Metric, while other sites |
|
162
|
|
|
|
|
|
|
only support the site's default. |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Use MeasurementUnit with weight and package dimensions. For example, |
|
165
|
|
|
|
|
|
|
to represent a 5 lbs 2 oz package: |
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
<MeasurementUnit>English</MeasurementUnit> |
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
<WeightMajor>5</WeightMajor> |
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
<WeightMinor>2</WeightMinor> |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=PackageDetails |
|
174
|
|
|
|
|
|
|
Title: Package Dimensions and Weight |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
Calls: AddItem |
|
177
|
|
|
|
|
|
|
RelistItem |
|
178
|
|
|
|
|
|
|
ReviseItem |
|
179
|
|
|
|
|
|
|
VerifyAddItem |
|
180
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
181
|
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
# Argument: 'ns:MeasurementSystemCodeType' |
|
183
|
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=cut |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
sub setMeasurementUnit { |
|
187
|
|
|
|
|
|
|
my $self = shift; |
|
188
|
|
|
|
|
|
|
$self->{'MeasurementUnit'} = shift |
|
189
|
|
|
|
|
|
|
} |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=head2 getMeasurementUnit() |
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
# Returns: 'ns:MeasurementSystemCodeType' |
|
194
|
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=cut |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
sub getMeasurementUnit { |
|
198
|
|
|
|
|
|
|
my $self = shift; |
|
199
|
|
|
|
|
|
|
return $self->{'MeasurementUnit'}; |
|
200
|
|
|
|
|
|
|
} |
|
201
|
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head2 setOriginatingPostalCode() |
|
204
|
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
Postal code for the location from which the package will be shipped. |
|
206
|
|
|
|
|
|
|
Required for calculated shipping. Use Item.PostalCode to specify the |
|
207
|
|
|
|
|
|
|
location of the item used for searches by location. |
|
208
|
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Calls: AddItem |
|
210
|
|
|
|
|
|
|
GetItemRecommendations |
|
211
|
|
|
|
|
|
|
RelistItem |
|
212
|
|
|
|
|
|
|
ReviseItem |
|
213
|
|
|
|
|
|
|
VerifyAddItem |
|
214
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
215
|
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
217
|
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
=cut |
|
219
|
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
sub setOriginatingPostalCode { |
|
221
|
|
|
|
|
|
|
my $self = shift; |
|
222
|
|
|
|
|
|
|
$self->{'OriginatingPostalCode'} = shift |
|
223
|
|
|
|
|
|
|
} |
|
224
|
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=head2 getOriginatingPostalCode() |
|
226
|
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
Calls: GetSellerList |
|
228
|
|
|
|
|
|
|
Returned: Conditionally |
|
229
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
|
230
|
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
232
|
|
|
|
|
|
|
Returned: Conditionally |
|
233
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
234
|
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
Calls: GetBidderList |
|
236
|
|
|
|
|
|
|
GetItemShipping |
|
237
|
|
|
|
|
|
|
Returned: Conditionally |
|
238
|
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
Calls: GetItem |
|
240
|
|
|
|
|
|
|
Returned: Conditionally |
|
241
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
242
|
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
244
|
|
|
|
|
|
|
GetSellerTransactions |
|
245
|
|
|
|
|
|
|
Returned: Conditionally |
|
246
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
247
|
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
249
|
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
=cut |
|
251
|
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
sub getOriginatingPostalCode { |
|
253
|
|
|
|
|
|
|
my $self = shift; |
|
254
|
|
|
|
|
|
|
return $self->{'OriginatingPostalCode'}; |
|
255
|
|
|
|
|
|
|
} |
|
256
|
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
=head2 setPackageDepth() |
|
259
|
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
Depth of the package, in whole number of inches, needed to ship the item. |
|
261
|
|
|
|
|
|
|
This is validated against the selected shipping service. |
|
262
|
|
|
|
|
|
|
Upon mismatch, a message is returned, such as, "Package |
|
263
|
|
|
|
|
|
|
dimensions exceeds maximum allowable limit for |
|
264
|
|
|
|
|
|
|
service XXXXX," where XXXXX is the name of the shipping service. |
|
265
|
|
|
|
|
|
|
For calculated shipping only. Only returned if the seller |
|
266
|
|
|
|
|
|
|
specified the value for the item. (In many cases, the seller |
|
267
|
|
|
|
|
|
|
only specifies the weight fields.) |
|
268
|
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
Developer impact: UPS requires dimensions for any Ground packages that are 3 |
|
270
|
|
|
|
|
|
|
cubic feet or larger and for all air packages, if they are to provide correct |
|
271
|
|
|
|
|
|
|
shipping cost. If package dimensions are not included for an item listed with |
|
272
|
|
|
|
|
|
|
calculated shipping, the shipping cost returned will be an estimate based on |
|
273
|
|
|
|
|
|
|
standard dimensions for the defined package type. eBay enforces a dimensions |
|
274
|
|
|
|
|
|
|
requirement on listings so that buyers receive accurate calculated shipping |
|
275
|
|
|
|
|
|
|
costs. |
|
276
|
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=PackageDetails |
|
278
|
|
|
|
|
|
|
Title: Package Dimensions and Weight |
|
279
|
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
Calls: AddItem |
|
281
|
|
|
|
|
|
|
GetItemRecommendations |
|
282
|
|
|
|
|
|
|
RelistItem |
|
283
|
|
|
|
|
|
|
ReviseItem |
|
284
|
|
|
|
|
|
|
VerifyAddItem |
|
285
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
286
|
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
# Argument: 'ns:MeasureType' |
|
288
|
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
=cut |
|
290
|
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
sub setPackageDepth { |
|
292
|
|
|
|
|
|
|
my $self = shift; |
|
293
|
|
|
|
|
|
|
$self->{'PackageDepth'} = shift |
|
294
|
|
|
|
|
|
|
} |
|
295
|
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
=head2 getPackageDepth() |
|
297
|
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
299
|
|
|
|
|
|
|
Returned: Conditionally |
|
300
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
301
|
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
Calls: GetBidderList |
|
303
|
|
|
|
|
|
|
GetItemShipping |
|
304
|
|
|
|
|
|
|
Returned: Conditionally |
|
305
|
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
Calls: GetItem |
|
307
|
|
|
|
|
|
|
Returned: Conditionally |
|
308
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, |
|
309
|
|
|
|
|
|
|
ItemReturnAttributes, ReturnAll |
|
310
|
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
312
|
|
|
|
|
|
|
GetSellerTransactions |
|
313
|
|
|
|
|
|
|
Returned: Conditionally |
|
314
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
315
|
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
# Returns: 'ns:MeasureType' |
|
317
|
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
=cut |
|
319
|
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
sub getPackageDepth { |
|
321
|
|
|
|
|
|
|
my $self = shift; |
|
322
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'PackageDepth' |
|
323
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType'); |
|
324
|
|
|
|
|
|
|
} |
|
325
|
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
=head2 setPackageLength() |
|
328
|
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
Length of the package, in whole number of inches, needed to ship the item. |
|
330
|
|
|
|
|
|
|
Upon mismatch, a message is returned, such as, "Package |
|
331
|
|
|
|
|
|
|
dimensions exceeds maximum allowable limit for |
|
332
|
|
|
|
|
|
|
service XXXXX," where XXXXX is the name of the shipping service. |
|
333
|
|
|
|
|
|
|
For calculated shipping only. Only returned if the seller |
|
334
|
|
|
|
|
|
|
specified the value for the item. (In many cases, the seller |
|
335
|
|
|
|
|
|
|
only specifies the weight fields.) |
|
336
|
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=PackageDetails |
|
338
|
|
|
|
|
|
|
Title: Package Dimensions and Weight |
|
339
|
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
Calls: AddItem |
|
341
|
|
|
|
|
|
|
GetItemRecommendations |
|
342
|
|
|
|
|
|
|
RelistItem |
|
343
|
|
|
|
|
|
|
ReviseItem |
|
344
|
|
|
|
|
|
|
VerifyAddItem |
|
345
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
346
|
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
# Argument: 'ns:MeasureType' |
|
348
|
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
=cut |
|
350
|
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
sub setPackageLength { |
|
352
|
|
|
|
|
|
|
my $self = shift; |
|
353
|
|
|
|
|
|
|
$self->{'PackageLength'} = shift |
|
354
|
|
|
|
|
|
|
} |
|
355
|
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=head2 getPackageLength() |
|
357
|
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
Calls: GetBidderList |
|
359
|
|
|
|
|
|
|
GetItemShipping |
|
360
|
|
|
|
|
|
|
Returned: Conditionally |
|
361
|
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
Calls: GetItem |
|
363
|
|
|
|
|
|
|
Returned: Conditionally |
|
364
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, |
|
365
|
|
|
|
|
|
|
ItemReturnAttributes, ReturnAll |
|
366
|
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
368
|
|
|
|
|
|
|
Returned: Conditionally |
|
369
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
370
|
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
372
|
|
|
|
|
|
|
GetSellerTransactions |
|
373
|
|
|
|
|
|
|
Returned: Conditionally |
|
374
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
375
|
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
# Returns: 'ns:MeasureType' |
|
377
|
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
=cut |
|
379
|
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
sub getPackageLength { |
|
381
|
|
|
|
|
|
|
my $self = shift; |
|
382
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'PackageLength' |
|
383
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType'); |
|
384
|
|
|
|
|
|
|
} |
|
385
|
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
=head2 setPackageWidth() |
|
388
|
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
Width of the package, in whole number of inches, needed to ship the item. |
|
390
|
|
|
|
|
|
|
Upon mismatch, a message is returned, such as, "Package |
|
391
|
|
|
|
|
|
|
dimensions exceeds maximum allowable limit for |
|
392
|
|
|
|
|
|
|
service XXXXX," where XXXXX is the name of the shipping service. |
|
393
|
|
|
|
|
|
|
For calculated shipping only. Only returned if the seller |
|
394
|
|
|
|
|
|
|
specified the value for the item. (In many cases, the seller |
|
395
|
|
|
|
|
|
|
only specifies the weight fields.) |
|
396
|
|
|
|
|
|
|
|
|
397
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=PackageDetails |
|
398
|
|
|
|
|
|
|
Title: Package Dimensions and Weight |
|
399
|
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
Calls: AddItem |
|
401
|
|
|
|
|
|
|
GetItemRecommendations |
|
402
|
|
|
|
|
|
|
RelistItem |
|
403
|
|
|
|
|
|
|
ReviseItem |
|
404
|
|
|
|
|
|
|
VerifyAddItem |
|
405
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
406
|
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
# Argument: 'ns:MeasureType' |
|
408
|
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
=cut |
|
410
|
|
|
|
|
|
|
|
|
411
|
|
|
|
|
|
|
sub setPackageWidth { |
|
412
|
|
|
|
|
|
|
my $self = shift; |
|
413
|
|
|
|
|
|
|
$self->{'PackageWidth'} = shift |
|
414
|
|
|
|
|
|
|
} |
|
415
|
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
=head2 getPackageWidth() |
|
417
|
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
Calls: GetBidderList |
|
419
|
|
|
|
|
|
|
GetItemShipping |
|
420
|
|
|
|
|
|
|
Returned: Conditionally |
|
421
|
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
Calls: GetItem |
|
423
|
|
|
|
|
|
|
Returned: Conditionally |
|
424
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, |
|
425
|
|
|
|
|
|
|
ItemReturnAttributes, ReturnAll |
|
426
|
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
428
|
|
|
|
|
|
|
Returned: Conditionally |
|
429
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
430
|
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
432
|
|
|
|
|
|
|
GetSellerTransactions |
|
433
|
|
|
|
|
|
|
Returned: Conditionally |
|
434
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
435
|
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
# Returns: 'ns:MeasureType' |
|
437
|
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
=cut |
|
439
|
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
sub getPackageWidth { |
|
441
|
|
|
|
|
|
|
my $self = shift; |
|
442
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'PackageWidth' |
|
443
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType'); |
|
444
|
|
|
|
|
|
|
} |
|
445
|
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
|
|
447
|
|
|
|
|
|
|
=head2 setPackagingHandlingCosts() |
|
448
|
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
Fees a seller might assess for the shipping of the item (in addition to |
|
450
|
|
|
|
|
|
|
whatever the shipping service might charge). |
|
451
|
|
|
|
|
|
|
Any packaging/handling cost specified on input is added to each shipping |
|
452
|
|
|
|
|
|
|
service on output. |
|
453
|
|
|
|
|
|
|
If domestic and international calculated shipping is offered for an item and |
|
454
|
|
|
|
|
|
|
if packaging/handling cost is specified only for domestic shipping, that cost |
|
455
|
|
|
|
|
|
|
will be applied by eBay as the international packaging/handling cost. (To |
|
456
|
|
|
|
|
|
|
specify a international packaging/handling cost, you must always specify a |
|
457
|
|
|
|
|
|
|
domestic packaging/handling cost, even if it is 0.) When UPS is one of the |
|
458
|
|
|
|
|
|
|
shipping services offered by the seller, package dimensions are required on |
|
459
|
|
|
|
|
|
|
list/relist/revise. |
|
460
|
|
|
|
|
|
|
For calculated shipping only. |
|
461
|
|
|
|
|
|
|
|
|
462
|
|
|
|
|
|
|
Calls: AddItem |
|
463
|
|
|
|
|
|
|
GetItemRecommendations |
|
464
|
|
|
|
|
|
|
RelistItem |
|
465
|
|
|
|
|
|
|
ReviseItem |
|
466
|
|
|
|
|
|
|
VerifyAddItem |
|
467
|
|
|
|
|
|
|
RequiredInput: No |
|
468
|
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
470
|
|
|
|
|
|
|
|
|
471
|
|
|
|
|
|
|
=cut |
|
472
|
|
|
|
|
|
|
|
|
473
|
|
|
|
|
|
|
sub setPackagingHandlingCosts { |
|
474
|
|
|
|
|
|
|
my $self = shift; |
|
475
|
|
|
|
|
|
|
$self->{'PackagingHandlingCosts'} = shift |
|
476
|
|
|
|
|
|
|
} |
|
477
|
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
=head2 getPackagingHandlingCosts() |
|
479
|
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
Calls: GetSellerList |
|
481
|
|
|
|
|
|
|
Returned: Conditionally |
|
482
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
|
483
|
|
|
|
|
|
|
|
|
484
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
485
|
|
|
|
|
|
|
Returned: Conditionally |
|
486
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
487
|
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
Calls: GetBidderList |
|
489
|
|
|
|
|
|
|
GetItemShipping |
|
490
|
|
|
|
|
|
|
Returned: Conditionally |
|
491
|
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
Calls: GetItem |
|
493
|
|
|
|
|
|
|
Returned: Always |
|
494
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
495
|
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
497
|
|
|
|
|
|
|
GetSellerTransactions |
|
498
|
|
|
|
|
|
|
Returned: Conditionally |
|
499
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
500
|
|
|
|
|
|
|
|
|
501
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
|
502
|
|
|
|
|
|
|
|
|
503
|
|
|
|
|
|
|
=cut |
|
504
|
|
|
|
|
|
|
|
|
505
|
|
|
|
|
|
|
sub getPackagingHandlingCosts { |
|
506
|
|
|
|
|
|
|
my $self = shift; |
|
507
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'PackagingHandlingCosts' |
|
508
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
|
509
|
|
|
|
|
|
|
} |
|
510
|
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
|
|
512
|
|
|
|
|
|
|
=head2 setShippingIrregular() |
|
513
|
|
|
|
|
|
|
|
|
514
|
|
|
|
|
|
|
Whether a package is irregular and therefore cannot go |
|
515
|
|
|
|
|
|
|
through the stamping machine at the shipping service office and |
|
516
|
|
|
|
|
|
|
thus requires special or fragile handling. For calculated |
|
517
|
|
|
|
|
|
|
shipping only. |
|
518
|
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
Calls: AddItem |
|
520
|
|
|
|
|
|
|
GetItemRecommendations |
|
521
|
|
|
|
|
|
|
RelistItem |
|
522
|
|
|
|
|
|
|
ReviseItem |
|
523
|
|
|
|
|
|
|
VerifyAddItem |
|
524
|
|
|
|
|
|
|
RequiredInput: No |
|
525
|
|
|
|
|
|
|
|
|
526
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
527
|
|
|
|
|
|
|
|
|
528
|
|
|
|
|
|
|
=cut |
|
529
|
|
|
|
|
|
|
|
|
530
|
|
|
|
|
|
|
sub setShippingIrregular { |
|
531
|
|
|
|
|
|
|
my $self = shift; |
|
532
|
|
|
|
|
|
|
$self->{'ShippingIrregular'} = shift |
|
533
|
|
|
|
|
|
|
} |
|
534
|
|
|
|
|
|
|
|
|
535
|
|
|
|
|
|
|
=head2 isShippingIrregular() |
|
536
|
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
538
|
|
|
|
|
|
|
Returned: Conditionally |
|
539
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
540
|
|
|
|
|
|
|
|
|
541
|
|
|
|
|
|
|
Calls: GetSellerList |
|
542
|
|
|
|
|
|
|
Returned: Conditionally |
|
543
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
|
544
|
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
Calls: GetBidderList |
|
546
|
|
|
|
|
|
|
GetItemShipping |
|
547
|
|
|
|
|
|
|
Returned: Conditionally |
|
548
|
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
Calls: GetItem |
|
550
|
|
|
|
|
|
|
Returned: Conditionally |
|
551
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
552
|
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
554
|
|
|
|
|
|
|
GetSellerTransactions |
|
555
|
|
|
|
|
|
|
Returned: Conditionally |
|
556
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
557
|
|
|
|
|
|
|
|
|
558
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
|
559
|
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
=cut |
|
561
|
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
sub isShippingIrregular { |
|
563
|
|
|
|
|
|
|
my $self = shift; |
|
564
|
|
|
|
|
|
|
return $self->{'ShippingIrregular'}; |
|
565
|
|
|
|
|
|
|
} |
|
566
|
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
=head2 setShippingPackage() |
|
569
|
|
|
|
|
|
|
|
|
570
|
|
|
|
|
|
|
The nature of the package used to ship the item(s). |
|
571
|
|
|
|
|
|
|
Required for calculated shipping only. |
|
572
|
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
Calls: AddItem |
|
574
|
|
|
|
|
|
|
GetItemRecommendations |
|
575
|
|
|
|
|
|
|
RelistItem |
|
576
|
|
|
|
|
|
|
ReviseItem |
|
577
|
|
|
|
|
|
|
VerifyAddItem |
|
578
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
579
|
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
# Argument: 'ns:ShippingPackageCodeType' |
|
581
|
|
|
|
|
|
|
|
|
582
|
|
|
|
|
|
|
=cut |
|
583
|
|
|
|
|
|
|
|
|
584
|
|
|
|
|
|
|
sub setShippingPackage { |
|
585
|
|
|
|
|
|
|
my $self = shift; |
|
586
|
|
|
|
|
|
|
$self->{'ShippingPackage'} = shift |
|
587
|
|
|
|
|
|
|
} |
|
588
|
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
=head2 getShippingPackage() |
|
590
|
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
Calls: GetSellerList |
|
592
|
|
|
|
|
|
|
Returned: Conditionally |
|
593
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
|
594
|
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
Calls: GetBidderList |
|
596
|
|
|
|
|
|
|
GetItemShipping |
|
597
|
|
|
|
|
|
|
Returned: Conditionally |
|
598
|
|
|
|
|
|
|
|
|
599
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
600
|
|
|
|
|
|
|
Returned: Conditionally |
|
601
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
602
|
|
|
|
|
|
|
|
|
603
|
|
|
|
|
|
|
Calls: GetItem |
|
604
|
|
|
|
|
|
|
Returned: Conditionally |
|
605
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
606
|
|
|
|
|
|
|
|
|
607
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
608
|
|
|
|
|
|
|
GetSellerTransactions |
|
609
|
|
|
|
|
|
|
Returned: Conditionally |
|
610
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
611
|
|
|
|
|
|
|
|
|
612
|
|
|
|
|
|
|
# Returns: 'ns:ShippingPackageCodeType' |
|
613
|
|
|
|
|
|
|
|
|
614
|
|
|
|
|
|
|
=cut |
|
615
|
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
sub getShippingPackage { |
|
617
|
|
|
|
|
|
|
my $self = shift; |
|
618
|
|
|
|
|
|
|
return $self->{'ShippingPackage'}; |
|
619
|
|
|
|
|
|
|
} |
|
620
|
|
|
|
|
|
|
|
|
621
|
|
|
|
|
|
|
|
|
622
|
|
|
|
|
|
|
=head2 setWeightMajor() |
|
623
|
|
|
|
|
|
|
|
|
624
|
|
|
|
|
|
|
WeightMajor and WeightMinor are used to specify the weight of a |
|
625
|
|
|
|
|
|
|
shipping package. Here is how you would represent a package |
|
626
|
|
|
|
|
|
|
weight of 5 lbs 2 oz: <WeightMajor unit="lbs">5</WeightMajor> |
|
627
|
|
|
|
|
|
|
<WeightMinor unit="oz">2</WeightMinor> |
|
628
|
|
|
|
|
|
|
See http://www.ups.com for the maximum weight allowed by UPS. |
|
629
|
|
|
|
|
|
|
Above this maximum, the shipping type becomes Freight, an option |
|
630
|
|
|
|
|
|
|
that can only be selected via the eBay Web site and not via API. |
|
631
|
|
|
|
|
|
|
The weight details are validated against the selected shipping service. |
|
632
|
|
|
|
|
|
|
For calculated shipping only. Required on input when calculated shipping is used. |
|
633
|
|
|
|
|
|
|
|
|
634
|
|
|
|
|
|
|
Calls: AddItem |
|
635
|
|
|
|
|
|
|
GetItemRecommendations |
|
636
|
|
|
|
|
|
|
RelistItem |
|
637
|
|
|
|
|
|
|
ReviseItem |
|
638
|
|
|
|
|
|
|
VerifyAddItem |
|
639
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
640
|
|
|
|
|
|
|
|
|
641
|
|
|
|
|
|
|
# Argument: 'ns:MeasureType' |
|
642
|
|
|
|
|
|
|
|
|
643
|
|
|
|
|
|
|
=cut |
|
644
|
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
sub setWeightMajor { |
|
646
|
|
|
|
|
|
|
my $self = shift; |
|
647
|
|
|
|
|
|
|
$self->{'WeightMajor'} = shift |
|
648
|
|
|
|
|
|
|
} |
|
649
|
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
=head2 getWeightMajor() |
|
651
|
|
|
|
|
|
|
|
|
652
|
|
|
|
|
|
|
Calls: GetSellerList |
|
653
|
|
|
|
|
|
|
Returned: Conditionally |
|
654
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
|
655
|
|
|
|
|
|
|
|
|
656
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
657
|
|
|
|
|
|
|
Returned: Conditionally |
|
658
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
659
|
|
|
|
|
|
|
|
|
660
|
|
|
|
|
|
|
Calls: GetBidderList |
|
661
|
|
|
|
|
|
|
GetItemShipping |
|
662
|
|
|
|
|
|
|
Returned: Conditionally |
|
663
|
|
|
|
|
|
|
|
|
664
|
|
|
|
|
|
|
Calls: GetItem |
|
665
|
|
|
|
|
|
|
Returned: Conditionally |
|
666
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
667
|
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
669
|
|
|
|
|
|
|
GetSellerTransactions |
|
670
|
|
|
|
|
|
|
Returned: Conditionally |
|
671
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
672
|
|
|
|
|
|
|
|
|
673
|
|
|
|
|
|
|
# Returns: 'ns:MeasureType' |
|
674
|
|
|
|
|
|
|
|
|
675
|
|
|
|
|
|
|
=cut |
|
676
|
|
|
|
|
|
|
|
|
677
|
|
|
|
|
|
|
sub getWeightMajor { |
|
678
|
|
|
|
|
|
|
my $self = shift; |
|
679
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'WeightMajor' |
|
680
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType'); |
|
681
|
|
|
|
|
|
|
} |
|
682
|
|
|
|
|
|
|
|
|
683
|
|
|
|
|
|
|
|
|
684
|
|
|
|
|
|
|
=head2 setWeightMinor() |
|
685
|
|
|
|
|
|
|
|
|
686
|
|
|
|
|
|
|
See the definition of WeightMajor. For calculated shipping only. |
|
687
|
|
|
|
|
|
|
Required on input when calculated shipping is used. |
|
688
|
|
|
|
|
|
|
|
|
689
|
|
|
|
|
|
|
Calls: AddItem |
|
690
|
|
|
|
|
|
|
GetItemRecommendations |
|
691
|
|
|
|
|
|
|
RelistItem |
|
692
|
|
|
|
|
|
|
ReviseItem |
|
693
|
|
|
|
|
|
|
VerifyAddItem |
|
694
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
695
|
|
|
|
|
|
|
|
|
696
|
|
|
|
|
|
|
# Argument: 'ns:MeasureType' |
|
697
|
|
|
|
|
|
|
|
|
698
|
|
|
|
|
|
|
=cut |
|
699
|
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
sub setWeightMinor { |
|
701
|
|
|
|
|
|
|
my $self = shift; |
|
702
|
|
|
|
|
|
|
$self->{'WeightMinor'} = shift |
|
703
|
|
|
|
|
|
|
} |
|
704
|
|
|
|
|
|
|
|
|
705
|
|
|
|
|
|
|
=head2 getWeightMinor() |
|
706
|
|
|
|
|
|
|
|
|
707
|
|
|
|
|
|
|
Calls: GetBidderList |
|
708
|
|
|
|
|
|
|
GetItemShipping |
|
709
|
|
|
|
|
|
|
Returned: Conditionally |
|
710
|
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
|
712
|
|
|
|
|
|
|
Returned: Conditionally |
|
713
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
|
714
|
|
|
|
|
|
|
|
|
715
|
|
|
|
|
|
|
Calls: GetSellerList |
|
716
|
|
|
|
|
|
|
Returned: Conditionally |
|
717
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
|
718
|
|
|
|
|
|
|
|
|
719
|
|
|
|
|
|
|
Calls: GetItem |
|
720
|
|
|
|
|
|
|
Returned: Conditionally |
|
721
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
|
722
|
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
Calls: GetItemTransactions |
|
724
|
|
|
|
|
|
|
GetSellerTransactions |
|
725
|
|
|
|
|
|
|
Returned: Conditionally |
|
726
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
727
|
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
# Returns: 'ns:MeasureType' |
|
729
|
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
=cut |
|
731
|
|
|
|
|
|
|
|
|
732
|
|
|
|
|
|
|
sub getWeightMinor { |
|
733
|
|
|
|
|
|
|
my $self = shift; |
|
734
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'WeightMinor' |
|
735
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MeasureType'); |
|
736
|
|
|
|
|
|
|
} |
|
737
|
|
|
|
|
|
|
|
|
738
|
|
|
|
|
|
|
|
|
739
|
|
|
|
|
|
|
|
|
740
|
|
|
|
|
|
|
|
|
741
|
|
|
|
|
|
|
|
|
742
|
|
|
|
|
|
|
## Attribute and Property lists |
|
743
|
|
|
|
|
|
|
sub getPropertiesList { |
|
744
|
|
|
|
|
|
|
my $self = shift; |
|
745
|
|
|
|
|
|
|
return \@gaProperties; |
|
746
|
|
|
|
|
|
|
} |
|
747
|
|
|
|
|
|
|
|
|
748
|
|
|
|
|
|
|
sub getAttributesList { |
|
749
|
|
|
|
|
|
|
my $self = shift; |
|
750
|
|
|
|
|
|
|
return \@gaAttributes; |
|
751
|
|
|
|
|
|
|
} |
|
752
|
|
|
|
|
|
|
|
|
753
|
|
|
|
|
|
|
|
|
754
|
|
|
|
|
|
|
|
|
755
|
|
|
|
|
|
|
1; |