line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetContextualKeywords; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2408
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetContextualKeywords.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::GetContextualKeywords |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetContextualKeywords inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetContextualKeywords'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setCategoryID() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The ID of the category to which keywords are to be limited. |
65
|
|
|
|
|
|
|
Zero or more category IDs can be specified. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
RequiredInput: No |
68
|
|
|
|
|
|
|
# Argument: reference to an array |
69
|
|
|
|
|
|
|
of 'xs:string' |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=cut |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
sub setCategoryID { |
74
|
|
|
|
|
|
|
my $self = shift; |
75
|
|
|
|
|
|
|
my $sCategoryID = shift; |
76
|
|
|
|
|
|
|
$self->getRequestDataType()->setCategoryID($sCategoryID); |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 setEncoding() |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Web page encoding by which the URL is to be handled, such as ISO-8859-1. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
RequiredInput: Yes |
84
|
|
|
|
|
|
|
# Argument: 'xs:string' |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=cut |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
sub setEncoding { |
89
|
|
|
|
|
|
|
my $self = shift; |
90
|
|
|
|
|
|
|
my $sEncoding = shift; |
91
|
|
|
|
|
|
|
$self->getRequestDataType()->setEncoding($sEncoding); |
92
|
|
|
|
|
|
|
} |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 setURL() |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
The URL of the web page from which eBay is to extract keywords. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
RequiredInput: Yes |
99
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=cut |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
sub setURL { |
104
|
|
|
|
|
|
|
my $self = shift; |
105
|
|
|
|
|
|
|
my $sURL = shift; |
106
|
|
|
|
|
|
|
$self->getRequestDataType()->setURL($sURL); |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
# |
112
|
|
|
|
|
|
|
# output properties |
113
|
|
|
|
|
|
|
# |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 getContextSearchAsset() |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
An array of either keyword/category pairs or categories, with ranking and score. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Returned: Always |
120
|
|
|
|
|
|
|
# Returns: reference to an array |
121
|
|
|
|
|
|
|
of 'ns:ContextSearchAssetType' |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=cut |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
sub getContextSearchAsset { |
126
|
|
|
|
|
|
|
my $self = shift; |
127
|
|
|
|
|
|
|
return $self->getResponseDataType()->getContextSearchAsset(); |
128
|
|
|
|
|
|
|
} |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
1; |