File Coverage

lib/eBay/API/XML/Call/GetStoreCategoryUpdateStatus.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::GetStoreCategoryUpdateStatus;
4              
5 1     1   2373 use strict;
  1         3  
  1         25  
6 1     1   4 use warnings;
  1         2  
  1         31  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetStoreCategoryUpdateStatus.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::GetStoreCategoryUpdateStatus
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetStoreCategoryUpdateStatus inherits from the L class
34              
35             =cut
36              
37 1     1   40 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetStoreCategoryUpdateStatus::GetStoreCategoryUpdateStatusRequestType;
41             use eBay::API::XML::Call::GetStoreCategoryUpdateStatus::GetStoreCategoryUpdateStatusResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetStoreCategoryUpdateStatus';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetStoreCategoryUpdateStatus::GetStoreCategoryUpdateStatusRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetStoreCategoryUpdateStatus::GetStoreCategoryUpdateStatusResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setTaskID()
63              
64             The task ID returned by the SetStoreCategories call. If the
65             SetStoreCategories call was processed asynchronously, the TaskID will be
66             a positive number, otherwise the TaskID will be 0.
67              
68             RequiredInput: Yes
69             # Argument: 'xs:long'
70              
71             =cut
72            
73             sub setTaskID {
74             my $self = shift;
75             my $sTaskID = shift;
76             $self->getRequestDataType()->setTaskID($sTaskID);
77             }
78              
79              
80              
81             #
82             # output properties
83             #
84              
85             =head2 getStatus()
86              
87             The status (Pending, InProgress, Complete, or Failed) of an update to the
88             store category structure.
89              
90             Returned: Always
91             # Returns: 'ns:TaskStatusCodeType'
92              
93             =cut
94            
95             sub getStatus {
96             my $self = shift;
97             return $self->getResponseDataType()->getStatus();
98             }
99              
100              
101              
102              
103              
104             1;