line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::StoreCustomListingHeaderLinkType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1092
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
42
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. StoreCustomListingHeaderLinkType.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::StoreCustomListingHeaderLinkType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Custom listing header link. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::StoreCustomListingHeaderLinkType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
36
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::StoreCustomListingHeaderLinkCodeType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'LinkID', 'xs:int', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'LinkType', 'ns:StoreCustomListingHeaderLinkCodeType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::StoreCustomListingHeaderLinkCodeType', '' ] |
48
|
|
|
|
|
|
|
, [ 'Order', 'xs:int', '', '', '' ] |
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 setLinkID() |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Link ID for the listing header link. The ID is used when the link |
76
|
|
|
|
|
|
|
is a custom category or for a custom page, and it is not needed |
77
|
|
|
|
|
|
|
when the LinkType property is "AboutMe" or "None". |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Calls: SetStore |
80
|
|
|
|
|
|
|
RequiredInput: Conditionally |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'xs:int' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setLinkID { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'LinkID'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getLinkID() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Calls: GetStore |
94
|
|
|
|
|
|
|
Returned: Conditionally |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
# Returns: 'xs:int' |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
sub getLinkID { |
101
|
|
|
|
|
|
|
my $self = shift; |
102
|
|
|
|
|
|
|
return $self->{'LinkID'}; |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 setLinkType() |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Type of link to include in the custom listing header. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Calls: SetStore |
111
|
|
|
|
|
|
|
RequiredInput: Conditionally |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
# Argument: 'ns:StoreCustomListingHeaderLinkCodeType' |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
sub setLinkType { |
118
|
|
|
|
|
|
|
my $self = shift; |
119
|
|
|
|
|
|
|
$self->{'LinkType'} = shift |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head2 getLinkType() |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
Calls: GetStore |
125
|
|
|
|
|
|
|
Returned: Conditionally |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
# Returns: 'ns:StoreCustomListingHeaderLinkCodeType' |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=cut |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
sub getLinkType { |
132
|
|
|
|
|
|
|
my $self = shift; |
133
|
|
|
|
|
|
|
return $self->{'LinkType'}; |
134
|
|
|
|
|
|
|
} |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 setOrder() |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Order in which to show the custom listing header link. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Calls: SetStore |
142
|
|
|
|
|
|
|
RequiredInput: Conditionally |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
# Argument: 'xs:int' |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=cut |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
sub setOrder { |
149
|
|
|
|
|
|
|
my $self = shift; |
150
|
|
|
|
|
|
|
$self->{'Order'} = shift |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 getOrder() |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
Calls: GetStore |
156
|
|
|
|
|
|
|
Returned: Conditionally |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
# Returns: 'xs:int' |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=cut |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
sub getOrder { |
163
|
|
|
|
|
|
|
my $self = shift; |
164
|
|
|
|
|
|
|
return $self->{'Order'}; |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
## Attribute and Property lists |
172
|
|
|
|
|
|
|
sub getPropertiesList { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
return \@gaProperties; |
175
|
|
|
|
|
|
|
} |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
sub getAttributesList { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
return \@gaAttributes; |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
1; |