line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::RespondToWantItNowPost::RespondToWantItNowPostRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1658
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
33
|
|
6
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. RespondToWantItNowPostRequestType.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::RespondToWantItNowPostRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Enables a seller to respond to a Want It Now post with an item listed on the eBay |
25
|
|
|
|
|
|
|
site. Responses appear on the Want It Now post page, with the item title, the |
26
|
|
|
|
|
|
|
price of the item, the number of bids on the item, and the time left before the |
27
|
|
|
|
|
|
|
listing ends. If the item has a picture, the picture is also included on the Want |
28
|
|
|
|
|
|
|
It Now post page. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 INHERITANCE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
eBay::API::XML::Call::RespondToWantItNowPost::RespondToWantItNowPostRequestType inherits from the L class |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
1
|
|
|
1
|
|
38
|
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 = ( [ 'ItemID', 'ns:ItemIDType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
51
|
|
|
|
|
|
|
, [ 'PostID', 'ns:ItemIDType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
my @gaAttributes = ( |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 Subroutines: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub new { |
65
|
|
|
|
|
|
|
my $classname = shift; |
66
|
|
|
|
|
|
|
my %args = @_; |
67
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
68
|
|
|
|
|
|
|
return $self; |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub isScalar { |
72
|
|
|
|
|
|
|
return 0; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 setItemID() |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The unique identifier of an item listed on the eBay site. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
RequiredInput: Yes |
84
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=cut |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
sub setItemID { |
89
|
|
|
|
|
|
|
my $self = shift; |
90
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 getItemID() |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getItemID { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
102
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 setPostID() |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
The unique identifier of a Want It Now post on the eBay site. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
RequiredInput: Yes |
111
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
sub setPostID { |
116
|
|
|
|
|
|
|
my $self = shift; |
117
|
|
|
|
|
|
|
$self->{'PostID'} = shift |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 getPostID() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=cut |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub getPostID { |
127
|
|
|
|
|
|
|
my $self = shift; |
128
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'PostID' |
129
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
## Attribute and Property lists |
137
|
|
|
|
|
|
|
sub getPropertiesList { |
138
|
|
|
|
|
|
|
my $self = shift; |
139
|
|
|
|
|
|
|
return \@gaProperties; |
140
|
|
|
|
|
|
|
} |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
sub getAttributesList { |
143
|
|
|
|
|
|
|
my $self = shift; |
144
|
|
|
|
|
|
|
return \@gaAttributes; |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
1; |