line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::NotificationUserDataType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1137
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
25
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. NotificationUserDataType.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::NotificationUserDataType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
User data related to notifications. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::NotificationUserDataType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::SMSSubscriptionType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::SummaryEventScheduleType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'SMSSubscription', 'ns:SMSSubscriptionType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::SMSSubscriptionType', '1' ] |
48
|
|
|
|
|
|
|
, [ 'SummarySchedule', 'ns:SummaryEventScheduleType', '1' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::SummaryEventScheduleType', '1' ] |
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 setSMSSubscription() |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
User data related to SMS notifications. SMS is currently reserved for future use. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Calls: SetNotificationPreferences |
79
|
|
|
|
|
|
|
RequiredInput: Conditionally |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'ns:SMSSubscriptionType' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setSMSSubscription { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'SMSSubscription'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getSMSSubscription() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetNotificationPreferences |
93
|
|
|
|
|
|
|
Returned: Conditionally |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'ns:SMSSubscriptionType' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getSMSSubscription { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'SMSSubscription' |
102
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::SMSSubscriptionType'); |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 setSummarySchedule() |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
User account activity summary alert delivery schedule. |
109
|
|
|
|
|
|
|
Returned if PreferenceLevel is set to UserData in |
110
|
|
|
|
|
|
|
GetNotificationPreferences. |
111
|
|
|
|
|
|
|
See "Working with Platform Notifications" for instructions on |
112
|
|
|
|
|
|
|
"Informational Alerts". |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Calls: SetNotificationPreferences |
115
|
|
|
|
|
|
|
RequiredInput: Conditionally |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
# Argument: reference to an array |
118
|
|
|
|
|
|
|
of 'ns:SummaryEventScheduleType' |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
sub setSummarySchedule { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
$self->{'SummarySchedule'} = |
125
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head2 getSummarySchedule() |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Calls: GetNotificationPreferences |
131
|
|
|
|
|
|
|
Returned: Conditionally |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
# Returns: reference to an array |
134
|
|
|
|
|
|
|
of 'ns:SummaryEventScheduleType' |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=cut |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
sub getSummarySchedule { |
139
|
|
|
|
|
|
|
my $self = shift; |
140
|
|
|
|
|
|
|
return $self->_getDataTypeArray('SummarySchedule'); |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
## Attribute and Property lists |
148
|
|
|
|
|
|
|
sub getPropertiesList { |
149
|
|
|
|
|
|
|
my $self = shift; |
150
|
|
|
|
|
|
|
return \@gaProperties; |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
sub getAttributesList { |
154
|
|
|
|
|
|
|
my $self = shift; |
155
|
|
|
|
|
|
|
return \@gaAttributes; |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
1; |