File Coverage

lib/eBay/API/XML/Call/RespondToWantItNowPost.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::RespondToWantItNowPost;
4              
5 1     1   8635 use strict;
  1         3  
  1         30  
6 1     1   6 use warnings;
  1         2  
  1         29  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. RespondToWantItNowPost.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::RespondToWantItNowPost
21              
22             =head1 DESCRIPTION
23              
24              
25              
26             =head1 SYNOPSIS
27              
28             =cut
29              
30              
31             =head1 INHERITANCE
32              
33             eBay::API::XML::Call::RespondToWantItNowPost inherits from the L class
34              
35             =cut
36              
37 1     1   37 use eBay::API::XML::BaseCall;
  0            
  0            
38             our @ISA = ("eBay::API::XML::BaseCall");
39              
40             use eBay::API::XML::Call::RespondToWantItNowPost::RespondToWantItNowPostRequestType;
41             use eBay::API::XML::Call::RespondToWantItNowPost::RespondToWantItNowPostResponseType;
42              
43              
44             =head1 Subroutines:
45              
46             =cut
47              
48             sub getApiCallName {
49             return 'RespondToWantItNowPost';
50             }
51             sub getRequestDataTypeFullPackage {
52             return 'eBay::API::XML::Call::RespondToWantItNowPost::RespondToWantItNowPostRequestType';
53             }
54             sub getResponseDataTypeFullPackage {
55             return 'eBay::API::XML::Call::RespondToWantItNowPost::RespondToWantItNowPostResponseType';
56             }
57              
58             #
59             # input properties
60             #
61              
62             =head2 setItemID()
63              
64             The unique identifier of an item listed on the eBay site.
65              
66             MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
67              
68             RequiredInput: Yes
69             # Argument: 'ns:ItemIDType'
70              
71             =cut
72            
73             sub setItemID {
74             my $self = shift;
75             my $pItemID = shift;
76             $self->getRequestDataType()->setItemID($pItemID);
77             }
78              
79             =head2 setPostID()
80              
81             The unique identifier of a Want It Now post on the eBay site.
82              
83             RequiredInput: Yes
84             # Argument: 'ns:ItemIDType'
85              
86             =cut
87            
88             sub setPostID {
89             my $self = shift;
90             my $pPostID = shift;
91             $self->getRequestDataType()->setPostID($pPostID);
92             }
93              
94              
95              
96             #
97             # output properties
98             #
99              
100              
101              
102              
103              
104             1;