| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetNotificationPreferences::GetNotificationPreferencesRequestType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1381
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
26
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
27
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. GetNotificationPreferencesRequestType.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::GetNotificationPreferences::GetNotificationPreferencesRequestType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves the requesting application's notification preferences. |
|
25
|
|
|
|
|
|
|
Details are only returned for events for which a preference was |
|
26
|
|
|
|
|
|
|
set at one point. For example, if you enabled notification for |
|
27
|
|
|
|
|
|
|
the EndOfAuction event and later disabled it, the GetNotificationPreferences |
|
28
|
|
|
|
|
|
|
response would cite the EndOfAuction event preference as |
|
29
|
|
|
|
|
|
|
Disabled. Otherwise, no details would be returned regarding EndOfAuction. |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
eBay::API::XML::Call::GetNotificationPreferences::GetNotificationPreferencesRequestType inherits from the L class |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
|
43
|
|
|
|
|
|
|
|
|
44
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::RequestDataType; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::NotificationRoleCodeType; |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
my @gaProperties = ( [ 'PreferenceLevel', 'ns:NotificationRoleCodeType', '' |
|
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::NotificationRoleCodeType', '' ] |
|
52
|
|
|
|
|
|
|
); |
|
53
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
my @gaAttributes = ( |
|
56
|
|
|
|
|
|
|
); |
|
57
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 Subroutines: |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
sub new { |
|
64
|
|
|
|
|
|
|
my $classname = shift; |
|
65
|
|
|
|
|
|
|
my %args = @_; |
|
66
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
|
67
|
|
|
|
|
|
|
return $self; |
|
68
|
|
|
|
|
|
|
} |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
sub isScalar { |
|
71
|
|
|
|
|
|
|
return 0; |
|
72
|
|
|
|
|
|
|
} |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 setPreferenceLevel() |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Specifies what type of Preference to retrieve. |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
RequiredInput: Yes |
|
81
|
|
|
|
|
|
|
# Argument: 'ns:NotificationRoleCodeType' |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setPreferenceLevel { |
|
86
|
|
|
|
|
|
|
my $self = shift; |
|
87
|
|
|
|
|
|
|
$self->{'PreferenceLevel'} = shift |
|
88
|
|
|
|
|
|
|
} |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getPreferenceLevel() |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
# Returns: 'ns:NotificationRoleCodeType' |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub getPreferenceLevel { |
|
97
|
|
|
|
|
|
|
my $self = shift; |
|
98
|
|
|
|
|
|
|
return $self->{'PreferenceLevel'}; |
|
99
|
|
|
|
|
|
|
} |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
## Attribute and Property lists |
|
106
|
|
|
|
|
|
|
sub getPropertiesList { |
|
107
|
|
|
|
|
|
|
my $self = shift; |
|
108
|
|
|
|
|
|
|
return \@gaProperties; |
|
109
|
|
|
|
|
|
|
} |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
sub getAttributesList { |
|
112
|
|
|
|
|
|
|
my $self = shift; |
|
113
|
|
|
|
|
|
|
return \@gaAttributes; |
|
114
|
|
|
|
|
|
|
} |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
1; |