line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::AccountSummaryType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1310
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
46
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. AccountSummaryType.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::AccountSummaryType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Summary data for the requesting user's seller account as a whole. This includes a |
25
|
|
|
|
|
|
|
balance for the account, any past due amount and date, and defining data for |
26
|
|
|
|
|
|
|
additional accounts (if the user has changed country of residency while having an |
27
|
|
|
|
|
|
|
active eBay account). |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::DataType::AccountSummaryType inherits from the L class |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
38
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AdditionalAccountType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::AccountStateCodeType; |
48
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::SellerPaymentMethodCodeType; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AccountState', 'ns:AccountStateCodeType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::AccountStateCodeType', '' ] |
53
|
|
|
|
|
|
|
, [ 'AdditionalAccount', 'ns:AdditionalAccountType', '1' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AdditionalAccountType', '1' ] |
55
|
|
|
|
|
|
|
, [ 'AmountPastDue', 'ns:AmountType', '' |
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
57
|
|
|
|
|
|
|
, [ 'BankAccountInfo', 'xs:string', '', '', '' ] |
58
|
|
|
|
|
|
|
, [ 'BankModifyDate', 'xs:dateTime', '', '', '' ] |
59
|
|
|
|
|
|
|
, [ 'BillingCycleDate', 'xs:int', '', '', '' ] |
60
|
|
|
|
|
|
|
, [ 'CreditCardExpiration', 'xs:dateTime', '', '', '' ] |
61
|
|
|
|
|
|
|
, [ 'CreditCardInfo', 'xs:string', '', '', '' ] |
62
|
|
|
|
|
|
|
, [ 'CreditCardModifyDate', 'xs:dateTime', '', '', '' ] |
63
|
|
|
|
|
|
|
, [ 'CurrentBalance', 'ns:AmountType', '' |
64
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
65
|
|
|
|
|
|
|
, [ 'Email', 'xs:string', '', '', '' ] |
66
|
|
|
|
|
|
|
, [ 'InvoiceBalance', 'ns:AmountType', '' |
67
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
68
|
|
|
|
|
|
|
, [ 'InvoiceCredit', 'ns:AmountType', '' |
69
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
70
|
|
|
|
|
|
|
, [ 'InvoiceDate', 'xs:dateTime', '', '', '' ] |
71
|
|
|
|
|
|
|
, [ 'InvoiceNewFee', 'ns:AmountType', '' |
72
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
73
|
|
|
|
|
|
|
, [ 'InvoicePayment', 'ns:AmountType', '' |
74
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
75
|
|
|
|
|
|
|
, [ 'LastAmountPaid', 'ns:AmountType', '' |
76
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
77
|
|
|
|
|
|
|
, [ 'LastPaymentDate', 'xs:dateTime', '', '', '' ] |
78
|
|
|
|
|
|
|
, [ 'PastDue', 'xs:boolean', '', '', '' ] |
79
|
|
|
|
|
|
|
, [ 'PaymentMethod', 'ns:SellerPaymentMethodCodeType', '' |
80
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::SellerPaymentMethodCodeType', '' ] |
81
|
|
|
|
|
|
|
); |
82
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
my @gaAttributes = ( |
85
|
|
|
|
|
|
|
); |
86
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 Subroutines: |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=cut |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
sub new { |
93
|
|
|
|
|
|
|
my $classname = shift; |
94
|
|
|
|
|
|
|
my %args = @_; |
95
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
96
|
|
|
|
|
|
|
return $self; |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub isScalar { |
100
|
|
|
|
|
|
|
return 0; |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setAccountState() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Indicates the current state of the account (such as active or inactive). |
108
|
|
|
|
|
|
|
Possible values are enumerated in the AccountStateCodeType code list. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# Argument: 'ns:AccountStateCodeType' |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub setAccountState { |
115
|
|
|
|
|
|
|
my $self = shift; |
116
|
|
|
|
|
|
|
$self->{'AccountState'} = shift |
117
|
|
|
|
|
|
|
} |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 getAccountState() |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
Calls: GetAccount |
122
|
|
|
|
|
|
|
Returned: Conditionally |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# Returns: 'ns:AccountStateCodeType' |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub getAccountState { |
129
|
|
|
|
|
|
|
my $self = shift; |
130
|
|
|
|
|
|
|
return $self->{'AccountState'}; |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 setAdditionalAccount() |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Contains the data for one additional account. An AccountSummaryType object |
137
|
|
|
|
|
|
|
may return zero, one, or multiple additional accounts. See the schema |
138
|
|
|
|
|
|
|
documentation for AdditionalAccountType for details on additional accounts. |
139
|
|
|
|
|
|
|
The value is positive for debits and negative for credits. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
# Argument: reference to an array |
142
|
|
|
|
|
|
|
of 'ns:AdditionalAccountType' |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
sub setAdditionalAccount { |
147
|
|
|
|
|
|
|
my $self = shift; |
148
|
|
|
|
|
|
|
$self->{'AdditionalAccount'} = |
149
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 getAdditionalAccount() |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Calls: GetAccount |
155
|
|
|
|
|
|
|
Returned: Conditionally |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
# Returns: reference to an array |
158
|
|
|
|
|
|
|
of 'ns:AdditionalAccountType' |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=cut |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
sub getAdditionalAccount { |
163
|
|
|
|
|
|
|
my $self = shift; |
164
|
|
|
|
|
|
|
return $self->_getDataTypeArray('AdditionalAccount'); |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 setAmountPastDue() |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
Amount past due, 0.00 if not past due. |
171
|
|
|
|
|
|
|
The value is positive for debits and negative for credits. |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=cut |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
sub setAmountPastDue { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
$self->{'AmountPastDue'} = shift |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=head2 getAmountPastDue() |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
Calls: GetAccount |
185
|
|
|
|
|
|
|
Returned: Conditionally |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=cut |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
sub getAmountPastDue { |
192
|
|
|
|
|
|
|
my $self = shift; |
193
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'AmountPastDue' |
194
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
195
|
|
|
|
|
|
|
} |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head2 setBankAccountInfo() |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
First four digits of the bank account the user associated with the seller |
201
|
|
|
|
|
|
|
account (with remainder Xed-out). This may be an empty string depending |
202
|
|
|
|
|
|
|
upon the payment type the user selected for the account (e.g., if no |
203
|
|
|
|
|
|
|
debit-card specified). |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
MaxLength: 4 |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
# Argument: 'xs:string' |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=cut |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
sub setBankAccountInfo { |
212
|
|
|
|
|
|
|
my $self = shift; |
213
|
|
|
|
|
|
|
$self->{'BankAccountInfo'} = shift |
214
|
|
|
|
|
|
|
} |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
=head2 getBankAccountInfo() |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
Calls: GetAccount |
219
|
|
|
|
|
|
|
Returned: Conditionally |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
# Returns: 'xs:string' |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=cut |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
sub getBankAccountInfo { |
226
|
|
|
|
|
|
|
my $self = shift; |
227
|
|
|
|
|
|
|
return $self->{'BankAccountInfo'}; |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=head2 setBankModifyDate() |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
Indicates the date and time BankAccountInfo was last modified, in GMT. |
234
|
|
|
|
|
|
|
(Also see the Data Types appendix for more information on how GMT dates are |
235
|
|
|
|
|
|
|
handled in SOAP.) This may be an empty string depending upon the payment |
236
|
|
|
|
|
|
|
type the user selected for the account (e.g., if no debit-card specified). |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=cut |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
sub setBankModifyDate { |
243
|
|
|
|
|
|
|
my $self = shift; |
244
|
|
|
|
|
|
|
$self->{'BankModifyDate'} = shift |
245
|
|
|
|
|
|
|
} |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=head2 getBankModifyDate() |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
Calls: GetAccount |
250
|
|
|
|
|
|
|
Returned: Conditionally |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
=cut |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
sub getBankModifyDate { |
257
|
|
|
|
|
|
|
my $self = shift; |
258
|
|
|
|
|
|
|
return $self->{'BankModifyDate'}; |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
=head2 setBillingCycleDate() |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
Indicates the billing cycle in which eBay sends a billing invoice to the |
265
|
|
|
|
|
|
|
user. A value of 0 (zero) indicates an invoice sent on the last day of the |
266
|
|
|
|
|
|
|
month. A value of 15 indicates an invoice sent on the 15th day of the |
267
|
|
|
|
|
|
|
month. |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
# Argument: 'xs:int' |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=cut |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
sub setBillingCycleDate { |
274
|
|
|
|
|
|
|
my $self = shift; |
275
|
|
|
|
|
|
|
$self->{'BillingCycleDate'} = shift |
276
|
|
|
|
|
|
|
} |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=head2 getBillingCycleDate() |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
Calls: GetAccount |
281
|
|
|
|
|
|
|
Returned: Conditionally |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
# Returns: 'xs:int' |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
=cut |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
sub getBillingCycleDate { |
288
|
|
|
|
|
|
|
my $self = shift; |
289
|
|
|
|
|
|
|
return $self->{'BillingCycleDate'}; |
290
|
|
|
|
|
|
|
} |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
=head2 setCreditCardExpiration() |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
Expiration date for the credit card selected by the user as payment method |
296
|
|
|
|
|
|
|
for the account, in GMT. (Also see the Data Types appendix for more |
297
|
|
|
|
|
|
|
information on how GMT dates are handled in SOAP.) Empty string if no |
298
|
|
|
|
|
|
|
credit card is on file or if the account is inactive - even if there is a |
299
|
|
|
|
|
|
|
credit card on file. |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
=cut |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
sub setCreditCardExpiration { |
306
|
|
|
|
|
|
|
my $self = shift; |
307
|
|
|
|
|
|
|
$self->{'CreditCardExpiration'} = shift |
308
|
|
|
|
|
|
|
} |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
=head2 getCreditCardExpiration() |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
Calls: GetAccount |
313
|
|
|
|
|
|
|
Returned: Conditionally |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
=cut |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
sub getCreditCardExpiration { |
320
|
|
|
|
|
|
|
my $self = shift; |
321
|
|
|
|
|
|
|
return $self->{'CreditCardExpiration'}; |
322
|
|
|
|
|
|
|
} |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
=head2 setCreditCardInfo() |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
Last four digits of the credit card the user selected as payment method for |
328
|
|
|
|
|
|
|
the account. Empty string if no credit is on file. |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
# Argument: 'xs:string' |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=cut |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
sub setCreditCardInfo { |
335
|
|
|
|
|
|
|
my $self = shift; |
336
|
|
|
|
|
|
|
$self->{'CreditCardInfo'} = shift |
337
|
|
|
|
|
|
|
} |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
=head2 getCreditCardInfo() |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
Calls: GetAccount |
342
|
|
|
|
|
|
|
Returned: Conditionally |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
# Returns: 'xs:string' |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
=cut |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
sub getCreditCardInfo { |
349
|
|
|
|
|
|
|
my $self = shift; |
350
|
|
|
|
|
|
|
return $self->{'CreditCardInfo'}; |
351
|
|
|
|
|
|
|
} |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
=head2 setCreditCardModifyDate() |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
Indicates the date and time credit card or credit card expiration date was |
357
|
|
|
|
|
|
|
last modified, in GMT. (Also see the Data Types appendix for more |
358
|
|
|
|
|
|
|
information on how GMT dates are handled in SOAP.) This may be an empty |
359
|
|
|
|
|
|
|
string depending on the payment method the user selected for the account |
360
|
|
|
|
|
|
|
(e.g., Empty string if no credit card is on file.) |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
=cut |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
sub setCreditCardModifyDate { |
367
|
|
|
|
|
|
|
my $self = shift; |
368
|
|
|
|
|
|
|
$self->{'CreditCardModifyDate'} = shift |
369
|
|
|
|
|
|
|
} |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
=head2 getCreditCardModifyDate() |
372
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
Calls: GetAccount |
374
|
|
|
|
|
|
|
Returned: Conditionally |
375
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
=cut |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
sub getCreditCardModifyDate { |
381
|
|
|
|
|
|
|
my $self = shift; |
382
|
|
|
|
|
|
|
return $self->{'CreditCardModifyDate'}; |
383
|
|
|
|
|
|
|
} |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
=head2 setCurrentBalance() |
387
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
Current balance for the account. Can be 0.00, positive, or negative. |
389
|
|
|
|
|
|
|
The value is positive for debits and negative for credits. |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
392
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
=cut |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
sub setCurrentBalance { |
396
|
|
|
|
|
|
|
my $self = shift; |
397
|
|
|
|
|
|
|
$self->{'CurrentBalance'} = shift |
398
|
|
|
|
|
|
|
} |
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
=head2 getCurrentBalance() |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
Calls: GetAccount |
403
|
|
|
|
|
|
|
Returned: Conditionally |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
=cut |
408
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
sub getCurrentBalance { |
410
|
|
|
|
|
|
|
my $self = shift; |
411
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'CurrentBalance' |
412
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
413
|
|
|
|
|
|
|
} |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
=head2 setEmail() |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
(out) Email address for the user. You cannot retrieve an email address for any |
419
|
|
|
|
|
|
|
user with whom you do not have a transactional relationship, regardless of |
420
|
|
|
|
|
|
|
site. Email is only returned for applicable calls when you are retrieving your |
421
|
|
|
|
|
|
|
own user data OR when you and the other user are in a transactional |
422
|
|
|
|
|
|
|
relationship and the call is being executed within a certain amount of time |
423
|
|
|
|
|
|
|
after the transaction is created. |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
# Argument: 'xs:string' |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
=cut |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
sub setEmail { |
430
|
|
|
|
|
|
|
my $self = shift; |
431
|
|
|
|
|
|
|
$self->{'Email'} = shift |
432
|
|
|
|
|
|
|
} |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
=head2 getEmail() |
435
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
# Returns: 'xs:string' |
437
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
=cut |
439
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
sub getEmail { |
441
|
|
|
|
|
|
|
my $self = shift; |
442
|
|
|
|
|
|
|
return $self->{'Email'}; |
443
|
|
|
|
|
|
|
} |
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
=head2 setInvoiceBalance() |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
Amount of last invoice. 0.00 if account not yet invoiced. |
449
|
|
|
|
|
|
|
The value is positive for debits and negative for credits. |
450
|
|
|
|
|
|
|
|
451
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
452
|
|
|
|
|
|
|
|
453
|
|
|
|
|
|
|
=cut |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
sub setInvoiceBalance { |
456
|
|
|
|
|
|
|
my $self = shift; |
457
|
|
|
|
|
|
|
$self->{'InvoiceBalance'} = shift |
458
|
|
|
|
|
|
|
} |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
=head2 getInvoiceBalance() |
461
|
|
|
|
|
|
|
|
462
|
|
|
|
|
|
|
Calls: GetAccount |
463
|
|
|
|
|
|
|
Returned: Conditionally |
464
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
=cut |
468
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
sub getInvoiceBalance { |
470
|
|
|
|
|
|
|
my $self = shift; |
471
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'InvoiceBalance' |
472
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
473
|
|
|
|
|
|
|
} |
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
=head2 setInvoiceCredit() |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
Specifies credits granted since the previous invoice, but |
479
|
|
|
|
|
|
|
is only returned AccountHistorySelection is LastInvoice or Specified |
480
|
|
|
|
|
|
|
Invoice. |
481
|
|
|
|
|
|
|
The value is positive for debits and negative for credits. |
482
|
|
|
|
|
|
|
|
483
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
484
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
=cut |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
sub setInvoiceCredit { |
488
|
|
|
|
|
|
|
my $self = shift; |
489
|
|
|
|
|
|
|
$self->{'InvoiceCredit'} = shift |
490
|
|
|
|
|
|
|
} |
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
=head2 getInvoiceCredit() |
493
|
|
|
|
|
|
|
|
494
|
|
|
|
|
|
|
Calls: GetAccount |
495
|
|
|
|
|
|
|
Returned: Conditionally |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
498
|
|
|
|
|
|
|
|
499
|
|
|
|
|
|
|
=cut |
500
|
|
|
|
|
|
|
|
501
|
|
|
|
|
|
|
sub getInvoiceCredit { |
502
|
|
|
|
|
|
|
my $self = shift; |
503
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'InvoiceCredit' |
504
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
505
|
|
|
|
|
|
|
} |
506
|
|
|
|
|
|
|
|
507
|
|
|
|
|
|
|
|
508
|
|
|
|
|
|
|
=head2 setInvoiceDate() |
509
|
|
|
|
|
|
|
|
510
|
|
|
|
|
|
|
Date of last invoice sent by eBay to the user, in GMT. (Also see the Data |
511
|
|
|
|
|
|
|
Types appendix for more information on how GMT dates are handled in SOAP.) |
512
|
|
|
|
|
|
|
Empty string if this account has not been invoiced yet. |
513
|
|
|
|
|
|
|
|
514
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
515
|
|
|
|
|
|
|
|
516
|
|
|
|
|
|
|
=cut |
517
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
sub setInvoiceDate { |
519
|
|
|
|
|
|
|
my $self = shift; |
520
|
|
|
|
|
|
|
$self->{'InvoiceDate'} = shift |
521
|
|
|
|
|
|
|
} |
522
|
|
|
|
|
|
|
|
523
|
|
|
|
|
|
|
=head2 getInvoiceDate() |
524
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
Calls: GetAccount |
526
|
|
|
|
|
|
|
Returned: Conditionally |
527
|
|
|
|
|
|
|
|
528
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
529
|
|
|
|
|
|
|
|
530
|
|
|
|
|
|
|
=cut |
531
|
|
|
|
|
|
|
|
532
|
|
|
|
|
|
|
sub getInvoiceDate { |
533
|
|
|
|
|
|
|
my $self = shift; |
534
|
|
|
|
|
|
|
return $self->{'InvoiceDate'}; |
535
|
|
|
|
|
|
|
} |
536
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
=head2 setInvoiceNewFee() |
539
|
|
|
|
|
|
|
|
540
|
|
|
|
|
|
|
Specifies fees incurred since the last invoice, including |
541
|
|
|
|
|
|
|
tax if applicable. Returned only if AccountHistorySelection |
542
|
|
|
|
|
|
|
is LastInvoice or Specified Invoice. The value is positive for debits and negative for credits. |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
545
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
=cut |
547
|
|
|
|
|
|
|
|
548
|
|
|
|
|
|
|
sub setInvoiceNewFee { |
549
|
|
|
|
|
|
|
my $self = shift; |
550
|
|
|
|
|
|
|
$self->{'InvoiceNewFee'} = shift |
551
|
|
|
|
|
|
|
} |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
=head2 getInvoiceNewFee() |
554
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
Calls: GetAccount |
556
|
|
|
|
|
|
|
Returned: Conditionally |
557
|
|
|
|
|
|
|
|
558
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
=cut |
561
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
sub getInvoiceNewFee { |
563
|
|
|
|
|
|
|
my $self = shift; |
564
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'InvoiceNewFee' |
565
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
566
|
|
|
|
|
|
|
} |
567
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
|
569
|
|
|
|
|
|
|
=head2 setInvoicePayment() |
570
|
|
|
|
|
|
|
|
571
|
|
|
|
|
|
|
Specifies payment made since the previous invoice, but is |
572
|
|
|
|
|
|
|
returned only if AccountHistorySelection is LastInvoice or Specified |
573
|
|
|
|
|
|
|
Invoice. The value is positive for debits and negative for credits. |
574
|
|
|
|
|
|
|
|
575
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
576
|
|
|
|
|
|
|
|
577
|
|
|
|
|
|
|
=cut |
578
|
|
|
|
|
|
|
|
579
|
|
|
|
|
|
|
sub setInvoicePayment { |
580
|
|
|
|
|
|
|
my $self = shift; |
581
|
|
|
|
|
|
|
$self->{'InvoicePayment'} = shift |
582
|
|
|
|
|
|
|
} |
583
|
|
|
|
|
|
|
|
584
|
|
|
|
|
|
|
=head2 getInvoicePayment() |
585
|
|
|
|
|
|
|
|
586
|
|
|
|
|
|
|
Calls: GetAccount |
587
|
|
|
|
|
|
|
Returned: Conditionally |
588
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
590
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
=cut |
592
|
|
|
|
|
|
|
|
593
|
|
|
|
|
|
|
sub getInvoicePayment { |
594
|
|
|
|
|
|
|
my $self = shift; |
595
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'InvoicePayment' |
596
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
597
|
|
|
|
|
|
|
} |
598
|
|
|
|
|
|
|
|
599
|
|
|
|
|
|
|
|
600
|
|
|
|
|
|
|
=head2 setLastAmountPaid() |
601
|
|
|
|
|
|
|
|
602
|
|
|
|
|
|
|
Amount of last payment posted, 0.00 if no payments posted. |
603
|
|
|
|
|
|
|
The value is positive for debits and negative for credits. |
604
|
|
|
|
|
|
|
|
605
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
606
|
|
|
|
|
|
|
|
607
|
|
|
|
|
|
|
=cut |
608
|
|
|
|
|
|
|
|
609
|
|
|
|
|
|
|
sub setLastAmountPaid { |
610
|
|
|
|
|
|
|
my $self = shift; |
611
|
|
|
|
|
|
|
$self->{'LastAmountPaid'} = shift |
612
|
|
|
|
|
|
|
} |
613
|
|
|
|
|
|
|
|
614
|
|
|
|
|
|
|
=head2 getLastAmountPaid() |
615
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
Calls: GetAccount |
617
|
|
|
|
|
|
|
Returned: Conditionally |
618
|
|
|
|
|
|
|
|
619
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
620
|
|
|
|
|
|
|
|
621
|
|
|
|
|
|
|
=cut |
622
|
|
|
|
|
|
|
|
623
|
|
|
|
|
|
|
sub getLastAmountPaid { |
624
|
|
|
|
|
|
|
my $self = shift; |
625
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'LastAmountPaid' |
626
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
627
|
|
|
|
|
|
|
} |
628
|
|
|
|
|
|
|
|
629
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
=head2 setLastPaymentDate() |
631
|
|
|
|
|
|
|
|
632
|
|
|
|
|
|
|
Date of last payment by the user to eBay, in GMT. (Also see the Data Types |
633
|
|
|
|
|
|
|
appendix for more information on how GMT dates are handled in SOAP.) Empty |
634
|
|
|
|
|
|
|
string if no payments have been posted. |
635
|
|
|
|
|
|
|
|
636
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
637
|
|
|
|
|
|
|
|
638
|
|
|
|
|
|
|
=cut |
639
|
|
|
|
|
|
|
|
640
|
|
|
|
|
|
|
sub setLastPaymentDate { |
641
|
|
|
|
|
|
|
my $self = shift; |
642
|
|
|
|
|
|
|
$self->{'LastPaymentDate'} = shift |
643
|
|
|
|
|
|
|
} |
644
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
=head2 getLastPaymentDate() |
646
|
|
|
|
|
|
|
|
647
|
|
|
|
|
|
|
Calls: GetAccount |
648
|
|
|
|
|
|
|
Returned: Conditionally |
649
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
651
|
|
|
|
|
|
|
|
652
|
|
|
|
|
|
|
=cut |
653
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
sub getLastPaymentDate { |
655
|
|
|
|
|
|
|
my $self = shift; |
656
|
|
|
|
|
|
|
return $self->{'LastPaymentDate'}; |
657
|
|
|
|
|
|
|
} |
658
|
|
|
|
|
|
|
|
659
|
|
|
|
|
|
|
|
660
|
|
|
|
|
|
|
=head2 setPastDue() |
661
|
|
|
|
|
|
|
|
662
|
|
|
|
|
|
|
Indicates whether the account has past due amounts outstanding. A value of |
663
|
|
|
|
|
|
|
true indicates that the account is past due. A value of false indicates the |
664
|
|
|
|
|
|
|
account is current. |
665
|
|
|
|
|
|
|
|
666
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
667
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
=cut |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
sub setPastDue { |
671
|
|
|
|
|
|
|
my $self = shift; |
672
|
|
|
|
|
|
|
$self->{'PastDue'} = shift |
673
|
|
|
|
|
|
|
} |
674
|
|
|
|
|
|
|
|
675
|
|
|
|
|
|
|
=head2 isPastDue() |
676
|
|
|
|
|
|
|
|
677
|
|
|
|
|
|
|
Calls: GetAccount |
678
|
|
|
|
|
|
|
Returned: Conditionally |
679
|
|
|
|
|
|
|
|
680
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
681
|
|
|
|
|
|
|
|
682
|
|
|
|
|
|
|
=cut |
683
|
|
|
|
|
|
|
|
684
|
|
|
|
|
|
|
sub isPastDue { |
685
|
|
|
|
|
|
|
my $self = shift; |
686
|
|
|
|
|
|
|
return $self->{'PastDue'}; |
687
|
|
|
|
|
|
|
} |
688
|
|
|
|
|
|
|
|
689
|
|
|
|
|
|
|
|
690
|
|
|
|
|
|
|
=head2 setPaymentMethod() |
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
Indicates the method the user selected to pay eBay with for the account. |
693
|
|
|
|
|
|
|
The values for PaymentMethod vary from one global eBay site to the next. |
694
|
|
|
|
|
|
|
Payment methods are enumerated in the SellerPaymentMethodCodeType code |
695
|
|
|
|
|
|
|
list. |
696
|
|
|
|
|
|
|
|
697
|
|
|
|
|
|
|
# Argument: 'ns:SellerPaymentMethodCodeType' |
698
|
|
|
|
|
|
|
|
699
|
|
|
|
|
|
|
=cut |
700
|
|
|
|
|
|
|
|
701
|
|
|
|
|
|
|
sub setPaymentMethod { |
702
|
|
|
|
|
|
|
my $self = shift; |
703
|
|
|
|
|
|
|
$self->{'PaymentMethod'} = shift |
704
|
|
|
|
|
|
|
} |
705
|
|
|
|
|
|
|
|
706
|
|
|
|
|
|
|
=head2 getPaymentMethod() |
707
|
|
|
|
|
|
|
|
708
|
|
|
|
|
|
|
Calls: GetAccount |
709
|
|
|
|
|
|
|
Returned: Conditionally |
710
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
# Returns: 'ns:SellerPaymentMethodCodeType' |
712
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
=cut |
714
|
|
|
|
|
|
|
|
715
|
|
|
|
|
|
|
sub getPaymentMethod { |
716
|
|
|
|
|
|
|
my $self = shift; |
717
|
|
|
|
|
|
|
return $self->{'PaymentMethod'}; |
718
|
|
|
|
|
|
|
} |
719
|
|
|
|
|
|
|
|
720
|
|
|
|
|
|
|
|
721
|
|
|
|
|
|
|
|
722
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
## Attribute and Property lists |
725
|
|
|
|
|
|
|
sub getPropertiesList { |
726
|
|
|
|
|
|
|
my $self = shift; |
727
|
|
|
|
|
|
|
return \@gaProperties; |
728
|
|
|
|
|
|
|
} |
729
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
sub getAttributesList { |
731
|
|
|
|
|
|
|
my $self = shift; |
732
|
|
|
|
|
|
|
return \@gaAttributes; |
733
|
|
|
|
|
|
|
} |
734
|
|
|
|
|
|
|
|
735
|
|
|
|
|
|
|
|
736
|
|
|
|
|
|
|
|
737
|
|
|
|
|
|
|
1; |