line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::CombinedPaymentPreferencesType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1685
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
35
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. CombinedPaymentPreferencesType.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::CombinedPaymentPreferencesType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Defines a seller's preferences for allowing buyers to combine more than one |
25
|
|
|
|
|
|
|
purchase into one payment. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::CombinedPaymentPreferencesType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
46
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::CalculatedShippingPreferencesType; |
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::FlatShippingPreferencesType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::CombinedPaymentOptionCodeType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::CombinedPaymentPeriodCodeType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CalculatedShippingPreferences', 'ns:CalculatedShippingPreferencesType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::CalculatedShippingPreferencesType', '1' ] |
51
|
|
|
|
|
|
|
, [ 'CombinedPaymentOption', 'ns:CombinedPaymentOptionCodeType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CombinedPaymentOptionCodeType', '' ] |
53
|
|
|
|
|
|
|
, [ 'CombinedPaymentPeriod', 'ns:CombinedPaymentPeriodCodeType', '' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CombinedPaymentPeriodCodeType', '' ] |
55
|
|
|
|
|
|
|
, [ 'FlatShippingPreferences', 'ns:FlatShippingPreferencesType', '' |
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::FlatShippingPreferencesType', '1' ] |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
my @gaAttributes = ( |
61
|
|
|
|
|
|
|
); |
62
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 Subroutines: |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub new { |
69
|
|
|
|
|
|
|
my $classname = shift; |
70
|
|
|
|
|
|
|
my %args = @_; |
71
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
72
|
|
|
|
|
|
|
return $self; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
sub isScalar { |
76
|
|
|
|
|
|
|
return 0; |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 setCalculatedShippingPreferences() |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Contains a seller's preferences for having shipping costs calculated |
84
|
|
|
|
|
|
|
by eBay. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Calls: SetUserPreferences |
87
|
|
|
|
|
|
|
RequiredInput: No |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
# Argument: 'ns:CalculatedShippingPreferencesType' |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
sub setCalculatedShippingPreferences { |
94
|
|
|
|
|
|
|
my $self = shift; |
95
|
|
|
|
|
|
|
$self->{'CalculatedShippingPreferences'} = shift |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head2 getCalculatedShippingPreferences() |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Calls: GetUserPreferences |
101
|
|
|
|
|
|
|
Returned: Conditionally |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
# Returns: 'ns:CalculatedShippingPreferencesType' |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
sub getCalculatedShippingPreferences { |
108
|
|
|
|
|
|
|
my $self = shift; |
109
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'CalculatedShippingPreferences' |
110
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::CalculatedShippingPreferencesType'); |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 setCombinedPaymentOption() |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Specifies whether or not a seller wants to allow buyers |
117
|
|
|
|
|
|
|
to combine purchases in order to receive a discount. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Calls: SetUserPreferences |
120
|
|
|
|
|
|
|
RequiredInput: No |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
# Argument: 'ns:CombinedPaymentOptionCodeType' |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=cut |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub setCombinedPaymentOption { |
127
|
|
|
|
|
|
|
my $self = shift; |
128
|
|
|
|
|
|
|
$self->{'CombinedPaymentOption'} = shift |
129
|
|
|
|
|
|
|
} |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 getCombinedPaymentOption() |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Calls: GetUserPreferences |
134
|
|
|
|
|
|
|
Returned: Conditionally |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
# Returns: 'ns:CombinedPaymentOptionCodeType' |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
sub getCombinedPaymentOption { |
141
|
|
|
|
|
|
|
my $self = shift; |
142
|
|
|
|
|
|
|
return $self->{'CombinedPaymentOption'}; |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 setCombinedPaymentPeriod() |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Specifies the period in which the user will allow buyers to combine purchases in |
149
|
|
|
|
|
|
|
order to receive a discount. |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Calls: SetUserPreferences |
152
|
|
|
|
|
|
|
RequiredInput: No |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
# Argument: 'ns:CombinedPaymentPeriodCodeType' |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=cut |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
sub setCombinedPaymentPeriod { |
159
|
|
|
|
|
|
|
my $self = shift; |
160
|
|
|
|
|
|
|
$self->{'CombinedPaymentPeriod'} = shift |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=head2 getCombinedPaymentPeriod() |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
Calls: GetUserPreferences |
166
|
|
|
|
|
|
|
Returned: Conditionally |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
# Returns: 'ns:CombinedPaymentPeriodCodeType' |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=cut |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
sub getCombinedPaymentPeriod { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
return $self->{'CombinedPaymentPeriod'}; |
175
|
|
|
|
|
|
|
} |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 setFlatShippingPreferences() |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
Specifies a seller's preferences for flat-rate shipping. |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Calls: SetUserPreferences |
183
|
|
|
|
|
|
|
RequiredInput: No |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
# Argument: 'ns:FlatShippingPreferencesType' |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=cut |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub setFlatShippingPreferences { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
$self->{'FlatShippingPreferences'} = shift |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head2 getFlatShippingPreferences() |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Calls: GetUserPreferences |
197
|
|
|
|
|
|
|
Returned: Conditionally |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
# Returns: 'ns:FlatShippingPreferencesType' |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=cut |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
sub getFlatShippingPreferences { |
204
|
|
|
|
|
|
|
my $self = shift; |
205
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'FlatShippingPreferences' |
206
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::FlatShippingPreferencesType'); |
207
|
|
|
|
|
|
|
} |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
## Attribute and Property lists |
214
|
|
|
|
|
|
|
sub getPropertiesList { |
215
|
|
|
|
|
|
|
my $self = shift; |
216
|
|
|
|
|
|
|
return \@gaProperties; |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
sub getAttributesList { |
220
|
|
|
|
|
|
|
my $self = shift; |
221
|
|
|
|
|
|
|
return \@gaAttributes; |
222
|
|
|
|
|
|
|
} |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
1; |