line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::MyMessagesResponseDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1040
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
6
|
1
|
|
|
1
|
|
851
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
34
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. MyMessagesResponseDetailsType.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::MyMessagesResponseDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Details relating to the response to an alert or message. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::MyMessagesResponseDetailsType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
38
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my @gaProperties = ( [ 'ResponseEnabled', 'xs:boolean', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'ResponseURL', 'xs:anyURI', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'UserResponseDate', 'xs:dateTime', '', '', '' ] |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
my @gaAttributes = ( |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 Subroutines: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
sub new { |
59
|
|
|
|
|
|
|
my $classname = shift; |
60
|
|
|
|
|
|
|
my %args = @_; |
61
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
62
|
|
|
|
|
|
|
return $self; |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub isScalar { |
66
|
|
|
|
|
|
|
return 0; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 setResponseEnabled() |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Whether or not an alert or message can be responded |
74
|
|
|
|
|
|
|
to. To respond to an alert or message, use the URL |
75
|
|
|
|
|
|
|
in ResponseURL. You may need to log into the eBay |
76
|
|
|
|
|
|
|
Web site to complete the response. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub setResponseEnabled { |
83
|
|
|
|
|
|
|
my $self = shift; |
84
|
|
|
|
|
|
|
$self->{'ResponseEnabled'} = shift |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 isResponseEnabled() |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Calls: GetMyMessages |
90
|
|
|
|
|
|
|
Returned: Conditionally |
91
|
|
|
|
|
|
|
Details: DetailLevel: ReturnHeaders, ReturnMessages |
92
|
|
|
|
|
|
|
Context: Alerts |
93
|
|
|
|
|
|
|
Messages |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub isResponseEnabled { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->{'ResponseEnabled'}; |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setResponseURL() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
A URL that the recipient must visit to respond to an |
108
|
|
|
|
|
|
|
alert or message. Responding may require logging |
109
|
|
|
|
|
|
|
into the eBay Web site. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
sub setResponseURL { |
116
|
|
|
|
|
|
|
my $self = shift; |
117
|
|
|
|
|
|
|
$self->{'ResponseURL'} = shift |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 getResponseURL() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Calls: GetMyMessages |
123
|
|
|
|
|
|
|
Returned: Conditionally |
124
|
|
|
|
|
|
|
Details: DetailLevel: ReturnMessages |
125
|
|
|
|
|
|
|
Context: Alerts |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Calls: GetMyMessages |
128
|
|
|
|
|
|
|
Returned: Conditionally |
129
|
|
|
|
|
|
|
Details: DetailLevel: ReturnHeaders, ReturnMessages |
130
|
|
|
|
|
|
|
Context: Messages |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
sub getResponseURL { |
137
|
|
|
|
|
|
|
my $self = shift; |
138
|
|
|
|
|
|
|
return $self->{'ResponseURL'}; |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 setUserResponseDate() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
The date and time the user responded to an alert or |
145
|
|
|
|
|
|
|
message |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=cut |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
sub setUserResponseDate { |
152
|
|
|
|
|
|
|
my $self = shift; |
153
|
|
|
|
|
|
|
$self->{'UserResponseDate'} = shift |
154
|
|
|
|
|
|
|
} |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head2 getUserResponseDate() |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=cut |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
sub getUserResponseDate { |
163
|
|
|
|
|
|
|
my $self = shift; |
164
|
|
|
|
|
|
|
return $self->{'UserResponseDate'}; |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
## Attribute and Property lists |
172
|
|
|
|
|
|
|
sub getPropertiesList { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
return \@gaProperties; |
175
|
|
|
|
|
|
|
} |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
sub getAttributesList { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
return \@gaAttributes; |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
1; |