File Coverage

lib/eBay/API/XML/Call/ValidateTestUserRegistration.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;
4              
5 1     1   2119 use strict;
  1         3  
  1         55  
6 1     1   5 use warnings;
  1         1  
  1         31  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. ValidateTestUserRegistration.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
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::ValidateTestUserRegistration inherits from the L class
34              
35             =cut
36              
37 1     1   71 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::ValidateTestUserRegistration::ValidateTestUserRegistrationRequestType;
41             use eBay::API::XML::Call::ValidateTestUserRegistration::ValidateTestUserRegistrationResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'ValidateTestUserRegistration';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::ValidateTestUserRegistration::ValidateTestUserRegistrationRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::ValidateTestUserRegistration::ValidateTestUserRegistrationResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setFeedbackScore()
63              
64             Value for the feedback score of a user. If no value is passed in the request,
65             or if the value is zero, the feedback score is unchanged. This element is not intended
66             for regularly testing feedback because the feedback value can change after the request.
67              
68             RequiredInput: No
69             # Argument: 'xs:int'
70              
71             =cut
72            
73             sub setFeedbackScore {
74             my $self = shift;
75             my $sFeedbackScore = shift;
76             $self->getRequestDataType()->setFeedbackScore($sFeedbackScore);
77             }
78              
79             =head2 setRegistrationDate()
80              
81             Value for the date and time that a user's registration begins.
82              
83             RequiredInput: No
84             # Argument: 'xs:dateTime'
85              
86             =cut
87            
88             sub setRegistrationDate {
89             my $self = shift;
90             my $sRegistrationDate = shift;
91             $self->getRequestDataType()->setRegistrationDate($sRegistrationDate);
92             }
93              
94             =head2 setSubscribeSA()
95              
96             Indicates if a user subscribes to Seller's Assistant. You cannot
97             request to subscribe a user to both Seller's Assistant and
98             Seller's Assistant Pro. You cannot request to unsubscribe a user.
99              
100             RequiredInput: No
101             # Argument: 'xs:boolean'
102              
103             =cut
104            
105             sub setSubscribeSA {
106             my $self = shift;
107             my $sSubscribeSA = shift;
108             $self->getRequestDataType()->setSubscribeSA($sSubscribeSA);
109             }
110              
111             =head2 setSubscribeSAPro()
112              
113             Indicates if a user subscribes to Seller's Assistant Pro. You cannot
114             request to subscribe a user to both Seller's Assistant and
115             Seller's Assistant Pro. You cannot request to unsubscribe a user.
116              
117             RequiredInput: No
118             # Argument: 'xs:boolean'
119              
120             =cut
121            
122             sub setSubscribeSAPro {
123             my $self = shift;
124             my $sSubscribeSAPro = shift;
125             $self->getRequestDataType()->setSubscribeSAPro($sSubscribeSAPro);
126             }
127              
128             =head2 setSubscribeSM()
129              
130             Indicates if a user subscribes to Selling Manager. You cannot
131             request to subscribe a user to both Selling Manager and
132             Selling Manager Pro. You cannot request to unsubscribe a user.
133              
134             RequiredInput: No
135             # Argument: 'xs:boolean'
136              
137             =cut
138            
139             sub setSubscribeSM {
140             my $self = shift;
141             my $sSubscribeSM = shift;
142             $self->getRequestDataType()->setSubscribeSM($sSubscribeSM);
143             }
144              
145             =head2 setSubscribeSMPro()
146              
147             Indicates if a user subscribes to Selling Manager Pro. You cannot
148             request to subscribe a user to both Selling Manager and
149             Selling Manager Pro. You cannot request to unsubscribe a user.
150              
151             RequiredInput: No
152             # Argument: 'xs:boolean'
153              
154             =cut
155            
156             sub setSubscribeSMPro {
157             my $self = shift;
158             my $sSubscribeSMPro = shift;
159             $self->getRequestDataType()->setSubscribeSMPro($sSubscribeSMPro);
160             }
161              
162              
163              
164             #
165             # output properties
166             #
167              
168              
169              
170              
171              
172             1;