line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::SetUserPreferences; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
3210
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
67
|
|
6
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
72
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. SetUserPreferences.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::SetUserPreferences |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::SetUserPreferences inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
82
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::SetUserPreferences::SetUserPreferencesRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::SetUserPreferences::SetUserPreferencesResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'SetUserPreferences'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::SetUserPreferences::SetUserPreferencesRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::SetUserPreferences::SetUserPreferencesResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setBidderNoticePreferences() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The user's bidder notice preferences to be set. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
RequiredInput: No |
67
|
|
|
|
|
|
|
# Argument: 'ns:BidderNoticePreferencesType' |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub setBidderNoticePreferences { |
72
|
|
|
|
|
|
|
my $self = shift; |
73
|
|
|
|
|
|
|
my $pBidderNoticePreferences = shift; |
74
|
|
|
|
|
|
|
$self->getRequestDataType()->setBidderNoticePreferences($pBidderNoticePreferences); |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 setCombinedPaymentPreferences() |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
DO NOT USE THIS FIELD. Use 'GetShippingDiscountProfiles' to access |
80
|
|
|
|
|
|
|
similar information. |
81
|
|
|
|
|
|
|
The user's combined payment preferences to be set. |
82
|
|
|
|
|
|
|
When you change these preferences, it can take up to 7 days for the change |
83
|
|
|
|
|
|
|
to have any logical or functional effect on eBay. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
For the US and Germany sites, combined payment preferences can also affect whether a |
86
|
|
|
|
|
|
|
seller is eligible to list on Express. |
87
|
|
|
|
|
|
|
A seller needs to allow shoppers to pay by single, combined payments for their purchases. |
88
|
|
|
|
|
|
|
A seller is not eligible for Express if they don't allow combined payments. |
89
|
|
|
|
|
|
|
Once changes to these preferences take effect on eBay (within 7 days), it can take up to 7 more days for |
90
|
|
|
|
|
|
|
existing items to be added to or removed from Express. Thus, it can take up to 14 days (total) |
91
|
|
|
|
|
|
|
for combined payment preference changes to affect whether listings appear on Express. |
92
|
|
|
|
|
|
|
Also see ExpressPreferences.ExpressSellingPreferences. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
RequiredInput: No |
95
|
|
|
|
|
|
|
# Argument: 'ns:CombinedPaymentPreferencesType' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub setCombinedPaymentPreferences { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
my $pCombinedPaymentPreferences = shift; |
102
|
|
|
|
|
|
|
$self->getRequestDataType()->setCombinedPaymentPreferences($pCombinedPaymentPreferences); |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setCrossPromotionPreferences() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The user's cross promotion preferences to be set. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
RequiredInput: No |
110
|
|
|
|
|
|
|
# Argument: 'ns:CrossPromotionPreferencesType' |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub setCrossPromotionPreferences { |
115
|
|
|
|
|
|
|
my $self = shift; |
116
|
|
|
|
|
|
|
my $pCrossPromotionPreferences = shift; |
117
|
|
|
|
|
|
|
$self->getRequestDataType()->setCrossPromotionPreferences($pCrossPromotionPreferences); |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 setEmailShipmentTrackingNumberPreference() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Sets the preference for the email shipment tracking number. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
Default: false |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
RequiredInput: No |
127
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=cut |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
sub setEmailShipmentTrackingNumberPreference { |
132
|
|
|
|
|
|
|
my $self = shift; |
133
|
|
|
|
|
|
|
my $sEmailShipmentTrackingNumberPreference = shift; |
134
|
|
|
|
|
|
|
$self->getRequestDataType()->setEmailShipmentTrackingNumberPreference($sEmailShipmentTrackingNumberPreference); |
135
|
|
|
|
|
|
|
} |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 setEndOfAuctionEmailPreferences() |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
The seller's end of auction email preferences to be set. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
RequiredInput: No |
142
|
|
|
|
|
|
|
# Argument: 'ns:EndOfAuctionEmailPreferencesType' |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
sub setEndOfAuctionEmailPreferences { |
147
|
|
|
|
|
|
|
my $self = shift; |
148
|
|
|
|
|
|
|
my $pEndOfAuctionEmailPreferences = shift; |
149
|
|
|
|
|
|
|
$self->getRequestDataType()->setEndOfAuctionEmailPreferences($pEndOfAuctionEmailPreferences); |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 setSellerFavoriteItemPreferences() |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Seller's favorite item preferences to be set. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
RequiredInput: No |
157
|
|
|
|
|
|
|
# Argument: 'ns:SellerFavoriteItemPreferencesType' |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
sub setSellerFavoriteItemPreferences { |
162
|
|
|
|
|
|
|
my $self = shift; |
163
|
|
|
|
|
|
|
my $pSellerFavoriteItemPreferences = shift; |
164
|
|
|
|
|
|
|
$self->getRequestDataType()->setSellerFavoriteItemPreferences($pSellerFavoriteItemPreferences); |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 setSellerPaymentPreferences() |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
The user's seller payment preferences to be set. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
RequiredInput: No |
172
|
|
|
|
|
|
|
# Argument: 'ns:SellerPaymentPreferencesType' |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=cut |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
sub setSellerPaymentPreferences { |
177
|
|
|
|
|
|
|
my $self = shift; |
178
|
|
|
|
|
|
|
my $pSellerPaymentPreferences = shift; |
179
|
|
|
|
|
|
|
$self->getRequestDataType()->setSellerPaymentPreferences($pSellerPaymentPreferences); |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
# |
185
|
|
|
|
|
|
|
# output properties |
186
|
|
|
|
|
|
|
# |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
1; |