line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::ExtendedContactDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2161
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
43
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
95
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ExtendedContactDetailsType.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::DataType::ExtendedContactDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains extended contact information for an eBay user. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::ExtendedContactDetailsType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
54
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ContactHoursDetailsType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'ClassifiedAdContactByEmailEnabled', 'xs:boolean', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'ContactHoursDetails', 'ns:ContactHoursDetailsType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ContactHoursDetailsType', '1' ] |
48
|
|
|
|
|
|
|
, [ 'PayPerLeadPhoneNumber', 'xs:string', '', '', '' ] |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
my @gaAttributes = ( |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 Subroutines: |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
sub new { |
61
|
|
|
|
|
|
|
my $classname = shift; |
62
|
|
|
|
|
|
|
my %args = @_; |
63
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
64
|
|
|
|
|
|
|
return $self; |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
sub isScalar { |
68
|
|
|
|
|
|
|
return 0; |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 setClassifiedAdContactByEmailEnabled() |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Returned for classified ads to indicate whether contact by email is enabled. |
76
|
|
|
|
|
|
|
In the pay-per-lead feature, which will be available in upcoming months on the |
77
|
|
|
|
|
|
|
US site, this field will specify whether potential buyers can email the seller |
78
|
|
|
|
|
|
|
after viewing a pay-per-lead listing. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Calls: AddItem |
81
|
|
|
|
|
|
|
ReviseItem |
82
|
|
|
|
|
|
|
VerifyAddItem |
83
|
|
|
|
|
|
|
RelistItem |
84
|
|
|
|
|
|
|
RequiredInput: No |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub setClassifiedAdContactByEmailEnabled { |
91
|
|
|
|
|
|
|
my $self = shift; |
92
|
|
|
|
|
|
|
$self->{'ClassifiedAdContactByEmailEnabled'} = shift |
93
|
|
|
|
|
|
|
} |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 isClassifiedAdContactByEmailEnabled() |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Calls: GetItem |
98
|
|
|
|
|
|
|
Returned: Conditionally |
99
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub isClassifiedAdContactByEmailEnabled { |
106
|
|
|
|
|
|
|
my $self = shift; |
107
|
|
|
|
|
|
|
return $self->{'ClassifiedAdContactByEmailEnabled'}; |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 setContactHoursDetails() |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
All fields related to contact hours including time ranges and |
114
|
|
|
|
|
|
|
user-designated time zone. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Calls: AddItem |
117
|
|
|
|
|
|
|
RelistItem |
118
|
|
|
|
|
|
|
ReviseItem |
119
|
|
|
|
|
|
|
VerifyAddItem |
120
|
|
|
|
|
|
|
RequiredInput: No |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
# Argument: 'ns:ContactHoursDetailsType' |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=cut |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub setContactHoursDetails { |
127
|
|
|
|
|
|
|
my $self = shift; |
128
|
|
|
|
|
|
|
$self->{'ContactHoursDetails'} = shift |
129
|
|
|
|
|
|
|
} |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 getContactHoursDetails() |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Calls: GetItem |
134
|
|
|
|
|
|
|
Returned: Conditionally |
135
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
Calls: GetSellerList |
138
|
|
|
|
|
|
|
Returned: Conditionally |
139
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
# Returns: 'ns:ContactHoursDetailsType' |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=cut |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
sub getContactHoursDetails { |
146
|
|
|
|
|
|
|
my $self = shift; |
147
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ContactHoursDetails' |
148
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ContactHoursDetailsType'); |
149
|
|
|
|
|
|
|
} |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 setPayPerLeadPhoneNumber() |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
A phone number assigned by eBay and provided to |
155
|
|
|
|
|
|
|
potential buyers when they are viewing a pay-per-lead listing. |
156
|
|
|
|
|
|
|
If a potential buyer (a lead) makes a call to this number, |
157
|
|
|
|
|
|
|
eBay routes the call to the seller based on |
158
|
|
|
|
|
|
|
inputs made by the seller when the seller lists the item. |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
# Argument: 'xs:string' |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=cut |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
sub setPayPerLeadPhoneNumber { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
$self->{'PayPerLeadPhoneNumber'} = shift |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 getPayPerLeadPhoneNumber() |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
Calls: GetItem |
172
|
|
|
|
|
|
|
Returned: Conditionally |
173
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
# Returns: 'xs:string' |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=cut |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
sub getPayPerLeadPhoneNumber { |
180
|
|
|
|
|
|
|
my $self = shift; |
181
|
|
|
|
|
|
|
return $self->{'PayPerLeadPhoneNumber'}; |
182
|
|
|
|
|
|
|
} |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
## Attribute and Property lists |
189
|
|
|
|
|
|
|
sub getPropertiesList { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
return \@gaProperties; |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
sub getAttributesList { |
195
|
|
|
|
|
|
|
my $self = shift; |
196
|
|
|
|
|
|
|
return \@gaAttributes; |
197
|
|
|
|
|
|
|
} |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
1; |