line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::MaximumUnpaidItemStrikesInfoType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1463
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
6
|
1
|
|
|
1
|
|
50
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. MaximumUnpaidItemStrikesInfoType.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::MaximumUnpaidItemStrikesInfoType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Container for MaximumUnpaidItemStrikes buyer requirement in item listings. |
25
|
|
|
|
|
|
|
A similar tag, BuyerRequirements.MaximumUnpaidItemStrikes has been deprecated. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::MaximumUnpaidItemStrikesInfoType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
44
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::PeriodCodeType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Count', 'xs:int', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'Period', 'ns:PeriodCodeType', '' |
48
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::PeriodCodeType', '' ] |
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 setCount() |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Maximum allowed unpaid item strikes against the buyer. |
76
|
|
|
|
|
|
|
If the limit is reached, the buyer can not bid on this item. |
77
|
|
|
|
|
|
|
Used with Period. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Max: Default: 2 |
80
|
|
|
|
|
|
|
Min: |
81
|
|
|
|
|
|
|
Calls: AddItem |
82
|
|
|
|
|
|
|
GetItemRecommendations |
83
|
|
|
|
|
|
|
RelistItem |
84
|
|
|
|
|
|
|
ReviseItem |
85
|
|
|
|
|
|
|
VerifyAddItem |
86
|
|
|
|
|
|
|
RequiredInput: No |
87
|
|
|
|
|
|
|
OnlyTheseValues: 2, 3, 4, 5 |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
# Argument: 'xs:int' |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
sub setCount { |
94
|
|
|
|
|
|
|
my $self = shift; |
95
|
|
|
|
|
|
|
$self->{'Count'} = shift |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head2 getCount() |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Calls: GetBidderList |
101
|
|
|
|
|
|
|
GetSellerList |
102
|
|
|
|
|
|
|
Returned: Conditionally |
103
|
|
|
|
|
|
|
OnlyTheseValues: 2, 3, 4, 5 |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Calls: GetItem |
106
|
|
|
|
|
|
|
Returned: Conditionally |
107
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
108
|
|
|
|
|
|
|
OnlyTheseValues: 2, 3, 4, 5 |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# Returns: 'xs:int' |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub getCount { |
115
|
|
|
|
|
|
|
my $self = shift; |
116
|
|
|
|
|
|
|
return $self->{'Count'}; |
117
|
|
|
|
|
|
|
} |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 setPeriod() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
If a buyer fails to pay for an item, they incur |
123
|
|
|
|
|
|
|
an unpaid item strike on their account. The Period and Count elements |
124
|
|
|
|
|
|
|
allow a seller to specify that only buyers with a specified number of |
125
|
|
|
|
|
|
|
item strikes (or less) within a given period of time can bid on their |
126
|
|
|
|
|
|
|
item. If a buyer has more strikes than specified within these limits, |
127
|
|
|
|
|
|
|
the buyer can not bid on this item. |
128
|
|
|
|
|
|
|
The Period is the past number of days (last 60 days, last 180 days, etc.) |
129
|
|
|
|
|
|
|
within which the unpaid item buyer strikes are calculated. |
130
|
|
|
|
|
|
|
Used with Count. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Max: Default: Days_30 |
133
|
|
|
|
|
|
|
Min: |
134
|
|
|
|
|
|
|
Calls: AddItem |
135
|
|
|
|
|
|
|
GetItemRecommendations |
136
|
|
|
|
|
|
|
RelistItem |
137
|
|
|
|
|
|
|
ReviseItem |
138
|
|
|
|
|
|
|
VerifyAddItem |
139
|
|
|
|
|
|
|
RequiredInput: No |
140
|
|
|
|
|
|
|
OnlyTheseValues: Days_30, Days_180, Days_360 |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
# Argument: 'ns:PeriodCodeType' |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
sub setPeriod { |
147
|
|
|
|
|
|
|
my $self = shift; |
148
|
|
|
|
|
|
|
$self->{'Period'} = shift |
149
|
|
|
|
|
|
|
} |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=head2 getPeriod() |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
Calls: GetBidderList |
154
|
|
|
|
|
|
|
GetSellerList |
155
|
|
|
|
|
|
|
Returned: Conditionally |
156
|
|
|
|
|
|
|
OnlyTheseValues: Days_30, Days_180, Days_360 |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Calls: GetItem |
159
|
|
|
|
|
|
|
Returned: Conditionally |
160
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
161
|
|
|
|
|
|
|
OnlyTheseValues: Days_30, Days_180, Days_360 |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
# Returns: 'ns:PeriodCodeType' |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=cut |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
sub getPeriod { |
168
|
|
|
|
|
|
|
my $self = shift; |
169
|
|
|
|
|
|
|
return $self->{'Period'}; |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
## Attribute and Property lists |
177
|
|
|
|
|
|
|
sub getPropertiesList { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
return \@gaProperties; |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
sub getAttributesList { |
183
|
|
|
|
|
|
|
my $self = shift; |
184
|
|
|
|
|
|
|
return \@gaAttributes; |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
1; |