File Coverage

lib/eBay/API/XML/Call/GetVeROReportStatus.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::GetVeROReportStatus;
4              
5 1     1   6981 use strict;
  1         3  
  1         47  
6 1     1   6 use warnings;
  1         2  
  1         39  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetVeROReportStatus.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::GetVeROReportStatus
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetVeROReportStatus inherits from the L class
34              
35             =cut
36              
37 1     1   48 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetVeROReportStatus::GetVeROReportStatusRequestType;
41             use eBay::API::XML::Call::GetVeROReportStatus::GetVeROReportStatusResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetVeROReportStatus';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetVeROReportStatus::GetVeROReportStatusRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetVeROReportStatus::GetVeROReportStatusResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setIncludeReportedItemDetails()
63              
64             Set to true to return reported item details when you specify VeROReportPacketID in the request.
65              
66             Default: false
67              
68             RequiredInput: No
69             # Argument: 'xs:boolean'
70              
71             =cut
72            
73             sub setIncludeReportedItemDetails {
74             my $self = shift;
75             my $sIncludeReportedItemDetails = shift;
76             $self->getRequestDataType()->setIncludeReportedItemDetails($sIncludeReportedItemDetails);
77             }
78              
79             =head2 setItemID()
80              
81             Item ID for an item reported for alleged infringement. Applies to items
82             reported with VeROReportItems or by other means (e.g., through the
83             web flow).
84              
85             MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
86              
87             RequiredInput: No
88             # Argument: 'ns:ItemIDType'
89              
90             =cut
91            
92             sub setItemID {
93             my $self = shift;
94             my $pItemID = shift;
95             $self->getRequestDataType()->setItemID($pItemID);
96             }
97              
98             =head2 setPagination()
99              
100             Contains the data controlling the pagination of the returned values: how
101             many items are returned per page of data (per call) and the number of the
102             page to return with the current call.
103              
104             RequiredInput: No
105             # Argument: 'ns:PaginationType'
106              
107             =cut
108            
109             sub setPagination {
110             my $self = shift;
111             my $pPagination = shift;
112             $self->getRequestDataType()->setPagination($pPagination);
113             }
114              
115             =head2 setTimeFrom()
116              
117             Limits returned items to only those that were submited on or after the
118             date-time specified. If specified, TimeTo must also be specified.
119             Express the date-time in the format YYYY-MM-DD HH:MM:SS, and in GMT.
120             (For information on how to convert between your local time zone
121             and GMT, see Time Values Note.) Applies to items reported with
122             VeROReportItems or by other means (e.g., through the web flow).
123             Infringement reporting data is maintained for two years after the date of
124             submission.
125             This field is ignored if VeROReportPacketID or ItemID is specified.
126              
127             RequiredInput: No
128             # Argument: 'xs:dateTime'
129              
130             =cut
131            
132             sub setTimeFrom {
133             my $self = shift;
134             my $sTimeFrom = shift;
135             $self->getRequestDataType()->setTimeFrom($sTimeFrom);
136             }
137              
138             =head2 setTimeTo()
139              
140             Limits returned items to only those that were submited on or before the
141             date-time specified. If specified, TimeFrom must also be specified.
142             Express date-time in the format YYYY-MM-DD HH:MM:SS, and in GMT.
143             (For information on how to convert between your local time zone
144             and GMT, see Time Values Note.) Applies to items reported with
145             VeROReportItems or by other means (e.g., through the web flow).
146             Infringement reporting data is maintained for two years after the date of
147             submission.
148             This field is ignored if VeROReportPacketID or ItemID is specified.
149              
150             RequiredInput: No
151             # Argument: 'xs:dateTime'
152              
153             =cut
154            
155             sub setTimeTo {
156             my $self = shift;
157             my $sTimeTo = shift;
158             $self->getRequestDataType()->setTimeTo($sTimeTo);
159             }
160              
161             =head2 setVeROReportPacketID()
162              
163             Packet identifier associated with the reported items for which you want to
164             retrieve status. By default, reported item details are not returned when
165             you specify the packet ID in the request. Applies only to items reported
166             with VeROReportItems.
167              
168             Max: Default: Min:
169             RequiredInput: No
170             # Argument: 'xs:long'
171              
172             =cut
173            
174             sub setVeROReportPacketID {
175             my $self = shift;
176             my $sVeROReportPacketID = shift;
177             $self->getRequestDataType()->setVeROReportPacketID($sVeROReportPacketID);
178             }
179              
180              
181              
182             #
183             # output properties
184             #
185              
186             =head2 isHasMoreItems()
187              
188             If true, there are more items yet to be retrieved. Additional
189             calls with higher page numbers or more items per page must
190             be made to retrieve these items. Not returned if no items match the
191             request.
192              
193             Returned: Conditionally
194             # Returns: 'xs:boolean'
195              
196             =cut
197            
198             sub isHasMoreItems {
199             my $self = shift;
200             return $self->getResponseDataType()->isHasMoreItems();
201             }
202              
203             =head2 getItemsPerPage()
204              
205             Indicates the maximum number of ItemType objects that can be returned in
206             ReportedItemDetails for any given call.
207              
208             Returned: Conditionally
209             # Returns: 'xs:int'
210              
211             =cut
212            
213             sub getItemsPerPage {
214             my $self = shift;
215             return $self->getResponseDataType()->getItemsPerPage();
216             }
217              
218             =head2 getPageNumber()
219              
220             Indicates the page of data returned by the current call. For instance,
221             for the first set of items can be returned, this field has a value of
222             one.
223              
224             Returned: Conditionally
225             # Returns: 'xs:int'
226              
227             =cut
228            
229             sub getPageNumber {
230             my $self = shift;
231             return $self->getResponseDataType()->getPageNumber();
232             }
233              
234             =head2 getPaginationResult()
235              
236             Contains information regarding the pagination of data (if pagination is
237             used), including total number of pages and total number of entries.
238              
239             Returned: Conditionally
240             # Returns: 'ns:PaginationResultType'
241              
242             =cut
243            
244             sub getPaginationResult {
245             my $self = shift;
246             return $self->getResponseDataType()->getPaginationResult();
247             }
248              
249             =head2 getReportedItemDetails()
250              
251             Contains the list of the reported item details.
252             Returns empty if no items are available that match the request.
253              
254             Returned: Conditionally
255             # Returns: 'ns:VeROReportedItemDetailsType'
256              
257             =cut
258            
259             sub getReportedItemDetails {
260             my $self = shift;
261             return $self->getResponseDataType()->getReportedItemDetails();
262             }
263              
264             =head2 getVeROReportPacketID()
265              
266             The packet ID for status being returned.
267              
268             Returned: Conditionally
269             # Returns: 'xs:long'
270              
271             =cut
272            
273             sub getVeROReportPacketID {
274             my $self = shift;
275             return $self->getResponseDataType()->getVeROReportPacketID();
276             }
277              
278             =head2 getVeROReportPacketStatus()
279              
280             Status of the packet.
281              
282             Returned: Conditionally
283             # Returns: 'ns:VeROReportPacketStatusCodeType'
284              
285             =cut
286            
287             sub getVeROReportPacketStatus {
288             my $self = shift;
289             return $self->getResponseDataType()->getVeROReportPacketStatus();
290             }
291              
292              
293              
294              
295              
296             1;