File Coverage

lib/eBay/API/XML/Call/GetWantItNowPost.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::GetWantItNowPost;
4              
5 1     1   3462 use strict;
  1         3  
  1         32  
6 1     1   6 use warnings;
  1         1  
  1         32  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetWantItNowPost.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::GetWantItNowPost
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::GetWantItNowPost inherits from the L class
34              
35             =cut
36              
37 1     1   35 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::GetWantItNowPost::GetWantItNowPostRequestType;
41             use eBay::API::XML::Call::GetWantItNowPost::GetWantItNowPostResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'GetWantItNowPost';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::GetWantItNowPost::GetWantItNowPostRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::GetWantItNowPost::GetWantItNowPostResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setPostID()
63              
64             Specifies the post ID that uniquely identifies the Want It Now post for
65             which to retrieve the data. PostID is a required input. PostID is unique
66             across all eBay sites.
67              
68             RequiredInput: Yes
69             # Argument: 'ns:ItemIDType'
70              
71             =cut
72            
73             sub setPostID {
74             my $self = shift;
75             my $pPostID = shift;
76             $self->getRequestDataType()->setPostID($pPostID);
77             }
78              
79              
80              
81             #
82             # output properties
83             #
84              
85             =head2 getWantItNowPost()
86              
87             Contains the data defining a single Want It Now post.
88              
89             Returned: Always
90             # Returns: 'ns:WantItNowPostType'
91              
92             =cut
93            
94             sub getWantItNowPost {
95             my $self = shift;
96             return $self->getResponseDataType()->getWantItNowPost();
97             }
98              
99              
100              
101              
102              
103             1;