line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::SellerAccountDashboardType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1046
|
use strict; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
33
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. SellerAccountDashboardType.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::SellerAccountDashboardType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Container for fields related to seller account. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::SellerAccountDashboardType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
44
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::SellerDashboardAlertType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::SellerAccountStatusCodeType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Alert', 'ns:SellerDashboardAlertType', '1' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::SellerDashboardAlertType', '1' ] |
48
|
|
|
|
|
|
|
, [ 'Status', 'ns:SellerAccountStatusCodeType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::SellerAccountStatusCodeType', '' ] |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my @gaAttributes = ( |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 Subroutines: |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub new { |
62
|
|
|
|
|
|
|
my $classname = shift; |
63
|
|
|
|
|
|
|
my %args = @_; |
64
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
65
|
|
|
|
|
|
|
return $self; |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub isScalar { |
69
|
|
|
|
|
|
|
return 0; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 setAlert() |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
A message to help you understand your account status. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
# Argument: reference to an array |
79
|
|
|
|
|
|
|
of 'ns:SellerDashboardAlertType' |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub setAlert { |
84
|
|
|
|
|
|
|
my $self = shift; |
85
|
|
|
|
|
|
|
$self->{'Alert'} = |
86
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 getAlert() |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Calls: GetSellerDashboard |
92
|
|
|
|
|
|
|
Returned: Conditionally |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
# Returns: reference to an array |
95
|
|
|
|
|
|
|
of 'ns:SellerDashboardAlertType' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getAlert { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->_getDataTypeArray('Alert'); |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setStatus() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Indicates your account status. This helps you understand if you are |
108
|
|
|
|
|
|
|
making timely payments or if your account is at risk of restrictions |
109
|
|
|
|
|
|
|
because of late payments. For more details about your account, |
110
|
|
|
|
|
|
|
you can go to your Seller Account page on the eBay site (login to My eBay), |
111
|
|
|
|
|
|
|
or you can call GetAccount. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
SeeLink: URL: GetAccount.html |
114
|
|
|
|
|
|
|
Title: GetAccount |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
# Argument: 'ns:SellerAccountStatusCodeType' |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=cut |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
sub setStatus { |
121
|
|
|
|
|
|
|
my $self = shift; |
122
|
|
|
|
|
|
|
$self->{'Status'} = shift |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 getStatus() |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Calls: GetSellerDashboard |
128
|
|
|
|
|
|
|
Returned: Conditionally |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
# Returns: 'ns:SellerAccountStatusCodeType' |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=cut |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
sub getStatus { |
135
|
|
|
|
|
|
|
my $self = shift; |
136
|
|
|
|
|
|
|
return $self->{'Status'}; |
137
|
|
|
|
|
|
|
} |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
## Attribute and Property lists |
144
|
|
|
|
|
|
|
sub getPropertiesList { |
145
|
|
|
|
|
|
|
my $self = shift; |
146
|
|
|
|
|
|
|
return \@gaProperties; |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub getAttributesList { |
150
|
|
|
|
|
|
|
my $self = shift; |
151
|
|
|
|
|
|
|
return \@gaAttributes; |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
1; |