line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::ReviseMyMessagesFolders; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2743
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ReviseMyMessagesFolders.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::ReviseMyMessagesFolders |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::ReviseMyMessagesFolders inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
36
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::ReviseMyMessagesFolders::ReviseMyMessagesFoldersRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::ReviseMyMessagesFolders::ReviseMyMessagesFoldersResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'ReviseMyMessagesFolders'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::ReviseMyMessagesFolders::ReviseMyMessagesFoldersRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::ReviseMyMessagesFolders::ReviseMyMessagesFoldersResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setFolderID() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
An ID that uniquely identifies the My Messages |
65
|
|
|
|
|
|
|
folder to perform the operation on. This value is set by |
66
|
|
|
|
|
|
|
eBay and cannot be changed. Retrieve FolderIDs |
67
|
|
|
|
|
|
|
by calling GetMyMessages with a DetailLevel of |
68
|
|
|
|
|
|
|
ReturnSummary. Inbox is FolderID = 0, and Sent is |
69
|
|
|
|
|
|
|
FolderID = 1. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
RequiredInput: Yes |
72
|
|
|
|
|
|
|
# Argument: reference to an array |
73
|
|
|
|
|
|
|
of 'xs:long' |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
sub setFolderID { |
78
|
|
|
|
|
|
|
my $self = shift; |
79
|
|
|
|
|
|
|
my $sFolderID = shift; |
80
|
|
|
|
|
|
|
$self->getRequestDataType()->setFolderID($sFolderID); |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 setFolderName() |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The name of a specified My Messages folder. Depending |
86
|
|
|
|
|
|
|
on the specified Operation, the value is an existing |
87
|
|
|
|
|
|
|
folder name or a new folder name. Retrieve existing |
88
|
|
|
|
|
|
|
FolderNames by calling GetMyMessages with a DetailLevel |
89
|
|
|
|
|
|
|
of ReturnSummary. Inbox is FolderID = 0, and Sent is |
90
|
|
|
|
|
|
|
FolderID = 1. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
RequiredInput: Conditionally |
93
|
|
|
|
|
|
|
# Argument: reference to an array |
94
|
|
|
|
|
|
|
of 'xs:string' |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=cut |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
sub setFolderName { |
99
|
|
|
|
|
|
|
my $self = shift; |
100
|
|
|
|
|
|
|
my $sFolderName = shift; |
101
|
|
|
|
|
|
|
$self->getRequestDataType()->setFolderName($sFolderName); |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head2 setOperation() |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Indicates the type of operation to perform on a |
107
|
|
|
|
|
|
|
specified My Messages folder. Operations include |
108
|
|
|
|
|
|
|
renaming, removing, and restoring folders. Operations |
109
|
|
|
|
|
|
|
cannot be performed on the Inbox and Sent folders. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
RequiredInput: Yes |
112
|
|
|
|
|
|
|
# Argument: 'ns:MyMessagesFolderOperationCodeType' |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
sub setOperation { |
117
|
|
|
|
|
|
|
my $self = shift; |
118
|
|
|
|
|
|
|
my $sOperation = shift; |
119
|
|
|
|
|
|
|
$self->getRequestDataType()->setOperation($sOperation); |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# |
125
|
|
|
|
|
|
|
# output properties |
126
|
|
|
|
|
|
|
# |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
1; |