File Coverage

lib/eBay/API/XML/Call/ValidateTestUserRegistration/ValidateTestUserRegistrationRequestType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::Call::ValidateTestUserRegistration::ValidateTestUserRegistrationRequestType;
4              
5 1     1   988 use strict;
  1         2  
  1         25  
6 1     1   4 use warnings;
  1         2  
  1         24  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. ValidateTestUserRegistrationRequestType.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::ValidateTestUserRegistration::ValidateTestUserRegistrationRequestType
21              
22             =head1 DESCRIPTION
23              
24             Requests to enable a test user to sell items in the Sandbox environment.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::Call::ValidateTestUserRegistration::ValidateTestUserRegistrationRequestType inherits from the L class
36              
37             =cut
38              
39 1     1   34 use eBay::API::XML::RequestDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::RequestDataType");
41              
42              
43              
44             my @gaProperties = ( [ 'FeedbackScore', 'xs:int', '', '', '' ]
45             , [ 'RegistrationDate', 'xs:dateTime', '', '', '' ]
46             , [ 'SubscribeSA', 'xs:boolean', '', '', '' ]
47             , [ 'SubscribeSAPro', 'xs:boolean', '', '', '' ]
48             , [ 'SubscribeSM', 'xs:boolean', '', '', '' ]
49             , [ 'SubscribeSMPro', 'xs:boolean', '', '', '' ]
50             );
51             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
52              
53             my @gaAttributes = (
54             );
55             push @gaAttributes, @{eBay::API::XML::RequestDataType::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 setFeedbackScore()
75              
76             Value for the feedback score of a user. If no value is passed in the request,
77             or if the value is zero, the feedback score is unchanged. This element is not intended
78             for regularly testing feedback because the feedback value can change after the request.
79              
80             RequiredInput: No
81             # Argument: 'xs:int'
82              
83             =cut
84              
85             sub setFeedbackScore {
86             my $self = shift;
87             $self->{'FeedbackScore'} = shift
88             }
89              
90             =head2 getFeedbackScore()
91              
92             # Returns: 'xs:int'
93              
94             =cut
95              
96             sub getFeedbackScore {
97             my $self = shift;
98             return $self->{'FeedbackScore'};
99             }
100              
101              
102             =head2 setRegistrationDate()
103              
104             Value for the date and time that a user's registration begins.
105              
106             RequiredInput: No
107             # Argument: 'xs:dateTime'
108              
109             =cut
110              
111             sub setRegistrationDate {
112             my $self = shift;
113             $self->{'RegistrationDate'} = shift
114             }
115              
116             =head2 getRegistrationDate()
117              
118             # Returns: 'xs:dateTime'
119              
120             =cut
121              
122             sub getRegistrationDate {
123             my $self = shift;
124             return $self->{'RegistrationDate'};
125             }
126              
127              
128             =head2 setSubscribeSA()
129              
130             Indicates if a user subscribes to Seller's Assistant. You cannot
131             request to subscribe a user to both Seller's Assistant and
132             Seller's Assistant Pro. You cannot request to unsubscribe a user.
133              
134             RequiredInput: No
135             # Argument: 'xs:boolean'
136              
137             =cut
138              
139             sub setSubscribeSA {
140             my $self = shift;
141             $self->{'SubscribeSA'} = shift
142             }
143              
144             =head2 isSubscribeSA()
145              
146             # Returns: 'xs:boolean'
147              
148             =cut
149              
150             sub isSubscribeSA {
151             my $self = shift;
152             return $self->{'SubscribeSA'};
153             }
154              
155              
156             =head2 setSubscribeSAPro()
157              
158             Indicates if a user subscribes to Seller's Assistant Pro. You cannot
159             request to subscribe a user to both Seller's Assistant and
160             Seller's Assistant Pro. You cannot request to unsubscribe a user.
161              
162             RequiredInput: No
163             # Argument: 'xs:boolean'
164              
165             =cut
166              
167             sub setSubscribeSAPro {
168             my $self = shift;
169             $self->{'SubscribeSAPro'} = shift
170             }
171              
172             =head2 isSubscribeSAPro()
173              
174             # Returns: 'xs:boolean'
175              
176             =cut
177              
178             sub isSubscribeSAPro {
179             my $self = shift;
180             return $self->{'SubscribeSAPro'};
181             }
182              
183              
184             =head2 setSubscribeSM()
185              
186             Indicates if a user subscribes to Selling Manager. You cannot
187             request to subscribe a user to both Selling Manager and
188             Selling Manager Pro. You cannot request to unsubscribe a user.
189              
190             RequiredInput: No
191             # Argument: 'xs:boolean'
192              
193             =cut
194              
195             sub setSubscribeSM {
196             my $self = shift;
197             $self->{'SubscribeSM'} = shift
198             }
199              
200             =head2 isSubscribeSM()
201              
202             # Returns: 'xs:boolean'
203              
204             =cut
205              
206             sub isSubscribeSM {
207             my $self = shift;
208             return $self->{'SubscribeSM'};
209             }
210              
211              
212             =head2 setSubscribeSMPro()
213              
214             Indicates if a user subscribes to Selling Manager Pro. You cannot
215             request to subscribe a user to both Selling Manager and
216             Selling Manager Pro. You cannot request to unsubscribe a user.
217              
218             RequiredInput: No
219             # Argument: 'xs:boolean'
220              
221             =cut
222              
223             sub setSubscribeSMPro {
224             my $self = shift;
225             $self->{'SubscribeSMPro'} = shift
226             }
227              
228             =head2 isSubscribeSMPro()
229              
230             # Returns: 'xs:boolean'
231              
232             =cut
233              
234             sub isSubscribeSMPro {
235             my $self = shift;
236             return $self->{'SubscribeSMPro'};
237             }
238              
239              
240              
241              
242              
243             ## Attribute and Property lists
244             sub getPropertiesList {
245             my $self = shift;
246             return \@gaProperties;
247             }
248              
249             sub getAttributesList {
250             my $self = shift;
251             return \@gaAttributes;
252             }
253              
254              
255              
256             1;