line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::BusinessSellerDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1456
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
34
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. BusinessSellerDetailsType.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::BusinessSellerDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Displays the seller's information (in a business card format) |
25
|
|
|
|
|
|
|
as part of the data returned in the GetItem call if the seller's SellerBusinessCodeType is set to 'Commercial'. Note that this |
26
|
|
|
|
|
|
|
option is only available for sites that have Business Seller |
27
|
|
|
|
|
|
|
options enabled. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::DataType::BusinessSellerDetailsType inherits from the L class |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
39
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AddressType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::VATDetailsType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AdditionalContactInformation', 'xs:string', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'Address', 'ns:AddressType', '' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AddressType', '1' ] |
52
|
|
|
|
|
|
|
, [ 'Email', 'xs:string', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'Fax', 'xs:string', '', '', '' ] |
54
|
|
|
|
|
|
|
, [ 'LegalInvoice', 'xs:boolean', '', '', '' ] |
55
|
|
|
|
|
|
|
, [ 'TermsAndConditions', 'xs:string', '', '', '' ] |
56
|
|
|
|
|
|
|
, [ 'TradeRegistrationNumber', 'xs:string', '', '', '' ] |
57
|
|
|
|
|
|
|
, [ 'VATDetails', 'ns:VATDetailsType', '' |
58
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::VATDetailsType', '1' ] |
59
|
|
|
|
|
|
|
); |
60
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
my @gaAttributes = ( |
63
|
|
|
|
|
|
|
); |
64
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 Subroutines: |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=cut |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
sub new { |
71
|
|
|
|
|
|
|
my $classname = shift; |
72
|
|
|
|
|
|
|
my %args = @_; |
73
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
74
|
|
|
|
|
|
|
return $self; |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
sub isScalar { |
78
|
|
|
|
|
|
|
return 0; |
79
|
|
|
|
|
|
|
} |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 setAdditionalContactInformation() |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Displays the AdditionalContactInformation of the seller |
86
|
|
|
|
|
|
|
(in a business card format) as part of the data returned |
87
|
|
|
|
|
|
|
in the GetItem call if the seller's SellerBusinessCodeType |
88
|
|
|
|
|
|
|
is set to 'Commercial'. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
# Argument: 'xs:string' |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub setAdditionalContactInformation { |
95
|
|
|
|
|
|
|
my $self = shift; |
96
|
|
|
|
|
|
|
$self->{'AdditionalContactInformation'} = shift |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 getAdditionalContactInformation() |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Calls: GetItem |
102
|
|
|
|
|
|
|
Returned: Conditionally |
103
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# Returns: 'xs:string' |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub getAdditionalContactInformation { |
110
|
|
|
|
|
|
|
my $self = shift; |
111
|
|
|
|
|
|
|
return $self->{'AdditionalContactInformation'}; |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 setAddress() |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Displays the Address of the seller (in a business card |
118
|
|
|
|
|
|
|
format) as part of the data returned in the GetItem |
119
|
|
|
|
|
|
|
call if the seller's SellerBusinessCodeType is set |
120
|
|
|
|
|
|
|
to 'Commercial'. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
# Argument: 'ns:AddressType' |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=cut |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub setAddress { |
127
|
|
|
|
|
|
|
my $self = shift; |
128
|
|
|
|
|
|
|
$self->{'Address'} = shift |
129
|
|
|
|
|
|
|
} |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 getAddress() |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Calls: GetItem |
134
|
|
|
|
|
|
|
Returned: Conditionally |
135
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
# Returns: 'ns:AddressType' |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=cut |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
sub getAddress { |
142
|
|
|
|
|
|
|
my $self = shift; |
143
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Address' |
144
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AddressType'); |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 setEmail() |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Displays the email address of the seller (in a business |
151
|
|
|
|
|
|
|
card format) as part of the data returned in the GetItem |
152
|
|
|
|
|
|
|
call if the seller's SellerBusinessCodeType is set to |
153
|
|
|
|
|
|
|
'Commercial'. |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# Argument: 'xs:string' |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=cut |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
sub setEmail { |
160
|
|
|
|
|
|
|
my $self = shift; |
161
|
|
|
|
|
|
|
$self->{'Email'} = shift |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 getEmail() |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Calls: GetItem |
167
|
|
|
|
|
|
|
Returned: Conditionally |
168
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
# Returns: 'xs:string' |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=cut |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub getEmail { |
175
|
|
|
|
|
|
|
my $self = shift; |
176
|
|
|
|
|
|
|
return $self->{'Email'}; |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 setFax() |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Displays the fax number of the seller (in a business |
183
|
|
|
|
|
|
|
card format) as part of the data returned in the |
184
|
|
|
|
|
|
|
GetItem call if the seller's SellerBusinessCodeType |
185
|
|
|
|
|
|
|
is set to 'Commercial'. |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
# Argument: 'xs:string' |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=cut |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
sub setFax { |
192
|
|
|
|
|
|
|
my $self = shift; |
193
|
|
|
|
|
|
|
$self->{'Fax'} = shift |
194
|
|
|
|
|
|
|
} |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=head2 getFax() |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
Calls: GetItem |
199
|
|
|
|
|
|
|
Returned: Conditionally |
200
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
# Returns: 'xs:string' |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=cut |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
sub getFax { |
207
|
|
|
|
|
|
|
my $self = shift; |
208
|
|
|
|
|
|
|
return $self->{'Fax'}; |
209
|
|
|
|
|
|
|
} |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
=head2 setLegalInvoice() |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
Displays the LegalInvoice of the seller (in a business |
215
|
|
|
|
|
|
|
card format) as part of the data returned in the GetItem |
216
|
|
|
|
|
|
|
call if the seller's SellerBusinessCodeType is set to |
217
|
|
|
|
|
|
|
'Commercial'. |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=cut |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
sub setLegalInvoice { |
224
|
|
|
|
|
|
|
my $self = shift; |
225
|
|
|
|
|
|
|
$self->{'LegalInvoice'} = shift |
226
|
|
|
|
|
|
|
} |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
=head2 isLegalInvoice() |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
Calls: GetItem |
231
|
|
|
|
|
|
|
Returned: Conditionally |
232
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=cut |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
sub isLegalInvoice { |
239
|
|
|
|
|
|
|
my $self = shift; |
240
|
|
|
|
|
|
|
return $self->{'LegalInvoice'}; |
241
|
|
|
|
|
|
|
} |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=head2 setTermsAndConditions() |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
Displays the TermsAndConditions of the seller (in a business |
247
|
|
|
|
|
|
|
card format) as part of the data returned in the GetItem |
248
|
|
|
|
|
|
|
call if the seller's SellerBusinessCodeType is set to |
249
|
|
|
|
|
|
|
'Commercial'. |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
# Argument: 'xs:string' |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
=cut |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
sub setTermsAndConditions { |
256
|
|
|
|
|
|
|
my $self = shift; |
257
|
|
|
|
|
|
|
$self->{'TermsAndConditions'} = shift |
258
|
|
|
|
|
|
|
} |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
=head2 getTermsAndConditions() |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
Calls: GetItem |
263
|
|
|
|
|
|
|
Returned: Conditionally |
264
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
# Returns: 'xs:string' |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
=cut |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
sub getTermsAndConditions { |
271
|
|
|
|
|
|
|
my $self = shift; |
272
|
|
|
|
|
|
|
return $self->{'TermsAndConditions'}; |
273
|
|
|
|
|
|
|
} |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
=head2 setTradeRegistrationNumber() |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
Displays the TradeRegistrationNumber of the seller (in a business |
279
|
|
|
|
|
|
|
card format) as part of the data returned in the GetItem call if |
280
|
|
|
|
|
|
|
the seller's SellerBusinessCodeType is set to 'Commercial'. |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
# Argument: 'xs:string' |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
=cut |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
sub setTradeRegistrationNumber { |
287
|
|
|
|
|
|
|
my $self = shift; |
288
|
|
|
|
|
|
|
$self->{'TradeRegistrationNumber'} = shift |
289
|
|
|
|
|
|
|
} |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
=head2 getTradeRegistrationNumber() |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
Calls: GetItem |
294
|
|
|
|
|
|
|
Returned: Conditionally |
295
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
# Returns: 'xs:string' |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=cut |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
sub getTradeRegistrationNumber { |
302
|
|
|
|
|
|
|
my $self = shift; |
303
|
|
|
|
|
|
|
return $self->{'TradeRegistrationNumber'}; |
304
|
|
|
|
|
|
|
} |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
=head2 setVATDetails() |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
Displays the VATDetails of the seller (in a business |
310
|
|
|
|
|
|
|
card format) as part of the data returned in the |
311
|
|
|
|
|
|
|
GetItem call if the seller's SellerBusinessCodeType |
312
|
|
|
|
|
|
|
is set to 'Commercial'. |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
# Argument: 'ns:VATDetailsType' |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
=cut |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
sub setVATDetails { |
319
|
|
|
|
|
|
|
my $self = shift; |
320
|
|
|
|
|
|
|
$self->{'VATDetails'} = shift |
321
|
|
|
|
|
|
|
} |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
=head2 getVATDetails() |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
Calls: GetItem |
326
|
|
|
|
|
|
|
Returned: Conditionally |
327
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
# Returns: 'ns:VATDetailsType' |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
=cut |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
sub getVATDetails { |
334
|
|
|
|
|
|
|
my $self = shift; |
335
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'VATDetails' |
336
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::VATDetailsType'); |
337
|
|
|
|
|
|
|
} |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
## Attribute and Property lists |
344
|
|
|
|
|
|
|
sub getPropertiesList { |
345
|
|
|
|
|
|
|
my $self = shift; |
346
|
|
|
|
|
|
|
return \@gaProperties; |
347
|
|
|
|
|
|
|
} |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
sub getAttributesList { |
350
|
|
|
|
|
|
|
my $self = shift; |
351
|
|
|
|
|
|
|
return \@gaAttributes; |
352
|
|
|
|
|
|
|
} |
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
1; |