line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetWantItNowPost::GetWantItNowPostRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1731
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetWantItNowPostRequestType.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::GetWantItNowPostRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves data for a specific, active Want It Now post identified by a post ID. |
25
|
|
|
|
|
|
|
The response includes the following fields: CategoryID, Description, PostID, |
26
|
|
|
|
|
|
|
Site, StartTime, ResponseCount, and Title. Although GetWantItNowSearchResults |
27
|
|
|
|
|
|
|
returns most of this information, only GetWantItNowPost returns Description for |
28
|
|
|
|
|
|
|
a post. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 INHERITANCE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
eBay::API::XML::Call::GetWantItNowPost::GetWantItNowPostRequestType inherits from the L class |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
1
|
|
|
1
|
|
35
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'PostID', 'ns:ItemIDType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
my @gaAttributes = ( |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 Subroutines: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub new { |
63
|
|
|
|
|
|
|
my $classname = shift; |
64
|
|
|
|
|
|
|
my %args = @_; |
65
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
66
|
|
|
|
|
|
|
return $self; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub isScalar { |
70
|
|
|
|
|
|
|
return 0; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 setPostID() |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Specifies the post ID that uniquely identifies the Want It Now post for |
78
|
|
|
|
|
|
|
which to retrieve the data. PostID is a required input. PostID is unique |
79
|
|
|
|
|
|
|
across all eBay sites. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
RequiredInput: Yes |
82
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setPostID { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'PostID'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getPostID() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=cut |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
sub getPostID { |
98
|
|
|
|
|
|
|
my $self = shift; |
99
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'PostID' |
100
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
## Attribute and Property lists |
108
|
|
|
|
|
|
|
sub getPropertiesList { |
109
|
|
|
|
|
|
|
my $self = shift; |
110
|
|
|
|
|
|
|
return \@gaProperties; |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
sub getAttributesList { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
return \@gaAttributes; |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
1; |