line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetNotificationsUsage::GetNotificationsUsageRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1398
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
43
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetNotificationsUsageRequestType.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::Call::GetNotificationsUsage::GetNotificationsUsageRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves usage information about platform notifications for a given application. |
25
|
|
|
|
|
|
|
You can use this notification information to troubleshoot issues with platform |
26
|
|
|
|
|
|
|
notifications. You can call this up to 50 times per hour for a given application. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 INHERITANCE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
eBay::API::XML::Call::GetNotificationsUsage::GetNotificationsUsageRequestType inherits from the L class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
my @gaProperties = ( [ 'EndTime', 'xs:dateTime', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
50
|
|
|
|
|
|
|
, [ 'StartTime', 'xs:dateTime', '', '', '' ] |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
my @gaAttributes = ( |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 Subroutines: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub new { |
63
|
|
|
|
|
|
|
my $classname = shift; |
64
|
|
|
|
|
|
|
my %args = @_; |
65
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
66
|
|
|
|
|
|
|
return $self; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub isScalar { |
70
|
|
|
|
|
|
|
return 0; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 setEndTime() |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Specifies the end date and time for which notification information |
78
|
|
|
|
|
|
|
will be retrieved. EndTime is optional. If no EndTime is specified, |
79
|
|
|
|
|
|
|
the current time (the time the call is made) is used. If no EndTime |
80
|
|
|
|
|
|
|
is specified or if an invalid EndTime is specified, date range errors |
81
|
|
|
|
|
|
|
are returned in the response. For an EndTime to be valid, it must be no |
82
|
|
|
|
|
|
|
more than 72 hours before the time the of the call, it cannot be before |
83
|
|
|
|
|
|
|
the StartTime, and it cannot be later than the time of the call. If an |
84
|
|
|
|
|
|
|
invalid EndTime is specified, the current time is used. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
RequiredInput: Conditionally |
87
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=cut |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
sub setEndTime { |
92
|
|
|
|
|
|
|
my $self = shift; |
93
|
|
|
|
|
|
|
$self->{'EndTime'} = shift |
94
|
|
|
|
|
|
|
} |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head2 getEndTime() |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
sub getEndTime { |
103
|
|
|
|
|
|
|
my $self = shift; |
104
|
|
|
|
|
|
|
return $self->{'EndTime'}; |
105
|
|
|
|
|
|
|
} |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 setItemID() |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Specifies an item ID for which detailed notification information will be |
111
|
|
|
|
|
|
|
retrieved. ItemID is optional. If no ItemID is specified, the response |
112
|
|
|
|
|
|
|
will not include any individual notification details. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
RequiredInput: Conditionally |
117
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=cut |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
sub setItemID { |
122
|
|
|
|
|
|
|
my $self = shift; |
123
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
124
|
|
|
|
|
|
|
} |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 getItemID() |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
sub getItemID { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
135
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 setStartTime() |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Specifies the start date and time for which notification information |
142
|
|
|
|
|
|
|
will be retrieved. StartTime is optional. If no StartTime is specified, |
143
|
|
|
|
|
|
|
the default value of 24 hours prior to the call time is used. If no |
144
|
|
|
|
|
|
|
StartTime is specified or if an invalid StartTime is specified, date |
145
|
|
|
|
|
|
|
range errors are returned in the response. For a StartTime to be valid, |
146
|
|
|
|
|
|
|
it must be no more than 72 hours before the time of the call, it cannot |
147
|
|
|
|
|
|
|
be more recent than the EndTime, and it cannot be later than the time of |
148
|
|
|
|
|
|
|
the call. If an invalid StartTime is specified, the default value is |
149
|
|
|
|
|
|
|
used. |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
RequiredInput: Conditionally |
152
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=cut |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
sub setStartTime { |
157
|
|
|
|
|
|
|
my $self = shift; |
158
|
|
|
|
|
|
|
$self->{'StartTime'} = shift |
159
|
|
|
|
|
|
|
} |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head2 getStartTime() |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=cut |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
sub getStartTime { |
168
|
|
|
|
|
|
|
my $self = shift; |
169
|
|
|
|
|
|
|
return $self->{'StartTime'}; |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
## Attribute and Property lists |
177
|
|
|
|
|
|
|
sub getPropertiesList { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
return \@gaProperties; |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
sub getAttributesList { |
183
|
|
|
|
|
|
|
my $self = shift; |
184
|
|
|
|
|
|
|
return \@gaAttributes; |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
1; |