| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::CharityInfoType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1701
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
33
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
34
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. CharityInfoType.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::CharityInfoType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains information about a nonprofit charity organization. |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::CharityInfoType 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::Enum::CharityStatusCodeType; |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CharityDomain', 'xs:int', '1', '', '' ] |
|
46
|
|
|
|
|
|
|
, [ 'CharityID', 'xs:string', '', '', '' ] |
|
47
|
|
|
|
|
|
|
, [ 'CharityRegion', 'xs:int', '', '', '' ] |
|
48
|
|
|
|
|
|
|
, [ 'DisplayLogoSelling', 'xs:boolean', '', '', '' ] |
|
49
|
|
|
|
|
|
|
, [ 'DisplayNameInCheckout', 'xs:boolean', '', '', '' ] |
|
50
|
|
|
|
|
|
|
, [ 'LogoURL', 'xs:anyURI', '', '', '' ] |
|
51
|
|
|
|
|
|
|
, [ 'LogoURLSelling', 'xs:anyURI', '', '', '' ] |
|
52
|
|
|
|
|
|
|
, [ 'Mission', 'xs:string', '', '', '' ] |
|
53
|
|
|
|
|
|
|
, [ 'Name', 'xs:string', '', '', '' ] |
|
54
|
|
|
|
|
|
|
, [ 'SearchableString', 'xs:string', '', '', '' ] |
|
55
|
|
|
|
|
|
|
, [ 'Status', 'ns:CharityStatusCodeType', '' |
|
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CharityStatusCodeType', '' ] |
|
57
|
|
|
|
|
|
|
); |
|
58
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
my @gaAttributes = ( [ 'id', 'xs:string', '', '', '' ] |
|
61
|
|
|
|
|
|
|
); |
|
62
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 Subroutines: |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub new { |
|
69
|
|
|
|
|
|
|
my $classname = shift; |
|
70
|
|
|
|
|
|
|
my %args = @_; |
|
71
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
|
72
|
|
|
|
|
|
|
return $self; |
|
73
|
|
|
|
|
|
|
} |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
sub isScalar { |
|
76
|
|
|
|
|
|
|
return 0; |
|
77
|
|
|
|
|
|
|
} |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 setCharityDomain() |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Domain (mission area) that a nonprofit charity organization belongs to. |
|
84
|
|
|
|
|
|
|
Nonprofit charity organizations may belong to multiple mission areas. Meaning |
|
85
|
|
|
|
|
|
|
of input values differs depending on the site. See GetCharities in the |
|
86
|
|
|
|
|
|
|
API Developer's Guide for the meaning of each input/output value. CharityDomain |
|
87
|
|
|
|
|
|
|
input value must be valid for that SiteID. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
# Argument: reference to an array |
|
90
|
|
|
|
|
|
|
of 'xs:int' |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub setCharityDomain { |
|
95
|
|
|
|
|
|
|
my $self = shift; |
|
96
|
|
|
|
|
|
|
$self->{'CharityDomain'} = |
|
97
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
|
98
|
|
|
|
|
|
|
} |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 getCharityDomain() |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Calls: GetCharities |
|
103
|
|
|
|
|
|
|
Returned: Conditionally |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# Returns: reference to an array |
|
106
|
|
|
|
|
|
|
of 'xs:int' |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub getCharityDomain { |
|
111
|
|
|
|
|
|
|
my $self = shift; |
|
112
|
|
|
|
|
|
|
return $self->_getDataTypeArray('CharityDomain'); |
|
113
|
|
|
|
|
|
|
} |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head2 setCharityID() |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
A unique identification number assigned by eBay to registered |
|
119
|
|
|
|
|
|
|
non-profit charity organizations. This number is returned in |
|
120
|
|
|
|
|
|
|
GetCharitiesResponse as an id attribute in the parent Charity node. |
|
121
|
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
123
|
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=cut |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub setCharityID { |
|
127
|
|
|
|
|
|
|
my $self = shift; |
|
128
|
|
|
|
|
|
|
$self->{'CharityID'} = shift |
|
129
|
|
|
|
|
|
|
} |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 getCharityID() |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=cut |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
sub getCharityID { |
|
138
|
|
|
|
|
|
|
my $self = shift; |
|
139
|
|
|
|
|
|
|
return $self->{'CharityID'}; |
|
140
|
|
|
|
|
|
|
} |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 setCharityRegion() |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Region that the nonprofit charity organization is associated with. |
|
146
|
|
|
|
|
|
|
A specific nonprofit charity organization may be associated with only |
|
147
|
|
|
|
|
|
|
one region. Meaning of input values differs depending on the site. See GetCharities in the API Developer's Guide for the meaning of each |
|
148
|
|
|
|
|
|
|
input/output value. CharityRegion input value must be valid for that SiteID. |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
# Argument: 'xs:int' |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
sub setCharityRegion { |
|
155
|
|
|
|
|
|
|
my $self = shift; |
|
156
|
|
|
|
|
|
|
$self->{'CharityRegion'} = shift |
|
157
|
|
|
|
|
|
|
} |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=head2 getCharityRegion() |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
Calls: GetCharities |
|
162
|
|
|
|
|
|
|
Returned: Conditionally |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
# Returns: 'xs:int' |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=cut |
|
167
|
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
sub getCharityRegion { |
|
169
|
|
|
|
|
|
|
my $self = shift; |
|
170
|
|
|
|
|
|
|
return $self->{'CharityRegion'}; |
|
171
|
|
|
|
|
|
|
} |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head2 setDisplayLogoSelling() |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
This boolean value should be set to true if an alternate logo URL should |
|
177
|
|
|
|
|
|
|
be supplied by sellers using the eBay Sell Your Item flow. If this field |
|
178
|
|
|
|
|
|
|
has not been set to true, it will return the default value of false. |
|
179
|
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
181
|
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=cut |
|
183
|
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
sub setDisplayLogoSelling { |
|
185
|
|
|
|
|
|
|
my $self = shift; |
|
186
|
|
|
|
|
|
|
$self->{'DisplayLogoSelling'} = shift |
|
187
|
|
|
|
|
|
|
} |
|
188
|
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=head2 isDisplayLogoSelling() |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
Calls: GetCharities |
|
192
|
|
|
|
|
|
|
Returned: Conditionally |
|
193
|
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
|
195
|
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=cut |
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
sub isDisplayLogoSelling { |
|
199
|
|
|
|
|
|
|
my $self = shift; |
|
200
|
|
|
|
|
|
|
return $self->{'DisplayLogoSelling'}; |
|
201
|
|
|
|
|
|
|
} |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head2 setDisplayNameInCheckout() |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Set this boolean value to true if the name of the nonprofit company should |
|
207
|
|
|
|
|
|
|
be shown during checkout. If this field has not been set to true, |
|
208
|
|
|
|
|
|
|
it will return the default value of false. If the user rolls their mouse |
|
209
|
|
|
|
|
|
|
over the name of the nonprofit company, they will see the nonprofit company's |
|
210
|
|
|
|
|
|
|
mission statement. |
|
211
|
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
213
|
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
=cut |
|
215
|
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
sub setDisplayNameInCheckout { |
|
217
|
|
|
|
|
|
|
my $self = shift; |
|
218
|
|
|
|
|
|
|
$self->{'DisplayNameInCheckout'} = shift |
|
219
|
|
|
|
|
|
|
} |
|
220
|
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=head2 isDisplayNameInCheckout() |
|
222
|
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
Calls: GetCharities |
|
224
|
|
|
|
|
|
|
Returned: Conditionally |
|
225
|
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
|
227
|
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
=cut |
|
229
|
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
sub isDisplayNameInCheckout { |
|
231
|
|
|
|
|
|
|
my $self = shift; |
|
232
|
|
|
|
|
|
|
return $self->{'DisplayNameInCheckout'}; |
|
233
|
|
|
|
|
|
|
} |
|
234
|
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=head2 setLogoURL() |
|
237
|
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
A URL with the location of the nonprofit charity organization's logo image. |
|
239
|
|
|
|
|
|
|
Logo must be JPG or GIF format, with a size maximum of 50 KB. This image |
|
240
|
|
|
|
|
|
|
is displayed in the Giving Works item listing. |
|
241
|
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
|
243
|
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=cut |
|
245
|
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
sub setLogoURL { |
|
247
|
|
|
|
|
|
|
my $self = shift; |
|
248
|
|
|
|
|
|
|
$self->{'LogoURL'} = shift |
|
249
|
|
|
|
|
|
|
} |
|
250
|
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
=head2 getLogoURL() |
|
252
|
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
Calls: GetCharities |
|
254
|
|
|
|
|
|
|
Returned: Conditionally |
|
255
|
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
|
257
|
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
=cut |
|
259
|
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
sub getLogoURL { |
|
261
|
|
|
|
|
|
|
my $self = shift; |
|
262
|
|
|
|
|
|
|
return $self->{'LogoURL'}; |
|
263
|
|
|
|
|
|
|
} |
|
264
|
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=head2 setLogoURLSelling() |
|
267
|
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
An alternate URL, provided by the seller during the Sell Your Item flow |
|
269
|
|
|
|
|
|
|
with the location of the nonprofit charity organization's logo image. This |
|
270
|
|
|
|
|
|
|
URL will be returned if it exists in the eBay database. Otherwise, the field |
|
271
|
|
|
|
|
|
|
will be empty. The logo must be JPG or GIF format, with a size maximum of 50 KB. This image is displayed in the Giving Works item listing. |
|
272
|
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
|
274
|
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
=cut |
|
276
|
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
sub setLogoURLSelling { |
|
278
|
|
|
|
|
|
|
my $self = shift; |
|
279
|
|
|
|
|
|
|
$self->{'LogoURLSelling'} = shift |
|
280
|
|
|
|
|
|
|
} |
|
281
|
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
=head2 getLogoURLSelling() |
|
283
|
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
Calls: GetCharities |
|
285
|
|
|
|
|
|
|
Returned: Conditionally |
|
286
|
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
|
288
|
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
=cut |
|
290
|
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
sub getLogoURLSelling { |
|
292
|
|
|
|
|
|
|
my $self = shift; |
|
293
|
|
|
|
|
|
|
return $self->{'LogoURLSelling'}; |
|
294
|
|
|
|
|
|
|
} |
|
295
|
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
=head2 setMission() |
|
298
|
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
The stated mission of the nonprofit charity organization. This |
|
300
|
|
|
|
|
|
|
mission is displayed in the Giving Works item listing. |
|
301
|
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
MaxLength: 511 |
|
303
|
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
305
|
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
=cut |
|
307
|
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
sub setMission { |
|
309
|
|
|
|
|
|
|
my $self = shift; |
|
310
|
|
|
|
|
|
|
$self->{'Mission'} = shift |
|
311
|
|
|
|
|
|
|
} |
|
312
|
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
=head2 getMission() |
|
314
|
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
Calls: GetCharities |
|
316
|
|
|
|
|
|
|
Returned: Conditionally |
|
317
|
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
319
|
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
=cut |
|
321
|
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
sub getMission { |
|
323
|
|
|
|
|
|
|
my $self = shift; |
|
324
|
|
|
|
|
|
|
return $self->{'Mission'}; |
|
325
|
|
|
|
|
|
|
} |
|
326
|
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
=head2 setName() |
|
329
|
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
A name assigned to a specified nonprofit organization. |
|
331
|
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
MaxLength: 150 |
|
333
|
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
335
|
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
=cut |
|
337
|
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
sub setName { |
|
339
|
|
|
|
|
|
|
my $self = shift; |
|
340
|
|
|
|
|
|
|
$self->{'Name'} = shift |
|
341
|
|
|
|
|
|
|
} |
|
342
|
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
=head2 getName() |
|
344
|
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
Calls: GetCharities |
|
346
|
|
|
|
|
|
|
Returned: Conditionally |
|
347
|
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
349
|
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
=cut |
|
351
|
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
sub getName { |
|
353
|
|
|
|
|
|
|
my $self = shift; |
|
354
|
|
|
|
|
|
|
return $self->{'Name'}; |
|
355
|
|
|
|
|
|
|
} |
|
356
|
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
=head2 setSearchableString() |
|
359
|
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
Keyword string to be used for search purposes. |
|
361
|
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
363
|
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
=cut |
|
365
|
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
sub setSearchableString { |
|
367
|
|
|
|
|
|
|
my $self = shift; |
|
368
|
|
|
|
|
|
|
$self->{'SearchableString'} = shift |
|
369
|
|
|
|
|
|
|
} |
|
370
|
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
=head2 getSearchableString() |
|
372
|
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
374
|
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
=cut |
|
376
|
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
sub getSearchableString { |
|
378
|
|
|
|
|
|
|
my $self = shift; |
|
379
|
|
|
|
|
|
|
return $self->{'SearchableString'}; |
|
380
|
|
|
|
|
|
|
} |
|
381
|
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
=head2 setStatus() |
|
384
|
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
The status of the nonprofit charity organization. |
|
386
|
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
# Argument: 'ns:CharityStatusCodeType' |
|
388
|
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
=cut |
|
390
|
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
sub setStatus { |
|
392
|
|
|
|
|
|
|
my $self = shift; |
|
393
|
|
|
|
|
|
|
$self->{'Status'} = shift |
|
394
|
|
|
|
|
|
|
} |
|
395
|
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
=head2 getStatus() |
|
397
|
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
# Returns: 'ns:CharityStatusCodeType' |
|
399
|
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
=cut |
|
401
|
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
sub getStatus { |
|
403
|
|
|
|
|
|
|
my $self = shift; |
|
404
|
|
|
|
|
|
|
return $self->{'Status'}; |
|
405
|
|
|
|
|
|
|
} |
|
406
|
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
=head2 setId() |
|
411
|
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
A unique identification number assigned by eBay to registered |
|
413
|
|
|
|
|
|
|
nonprofit charity organizations. |
|
414
|
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
416
|
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
=cut |
|
418
|
|
|
|
|
|
|
|
|
419
|
|
|
|
|
|
|
sub setId { |
|
420
|
|
|
|
|
|
|
my $self = shift; |
|
421
|
|
|
|
|
|
|
$self->{'id'} = shift |
|
422
|
|
|
|
|
|
|
} |
|
423
|
|
|
|
|
|
|
|
|
424
|
|
|
|
|
|
|
=head2 getId() |
|
425
|
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
Calls: GetCharities |
|
427
|
|
|
|
|
|
|
Returned: Conditionally |
|
428
|
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
430
|
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
=cut |
|
432
|
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
sub getId { |
|
434
|
|
|
|
|
|
|
my $self = shift; |
|
435
|
|
|
|
|
|
|
return $self->{'id'}; |
|
436
|
|
|
|
|
|
|
} |
|
437
|
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
|
|
439
|
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
## Attribute and Property lists |
|
441
|
|
|
|
|
|
|
sub getPropertiesList { |
|
442
|
|
|
|
|
|
|
my $self = shift; |
|
443
|
|
|
|
|
|
|
return \@gaProperties; |
|
444
|
|
|
|
|
|
|
} |
|
445
|
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
sub getAttributesList { |
|
447
|
|
|
|
|
|
|
my $self = shift; |
|
448
|
|
|
|
|
|
|
return \@gaAttributes; |
|
449
|
|
|
|
|
|
|
} |
|
450
|
|
|
|
|
|
|
|
|
451
|
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
|
|
453
|
|
|
|
|
|
|
1; |