line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::TaxTableType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1346
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. TaxTableType.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::TaxTableType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Sales tax details for zero or more jurisdictions (states, |
25
|
|
|
|
|
|
|
provinces, etc). |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::TaxTableType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
41
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::TaxJurisdictionType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'TaxJurisdiction', 'ns:TaxJurisdictionType', '1' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::TaxJurisdictionType', '1' ] |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaAttributes = ( |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 Subroutines: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub new { |
60
|
|
|
|
|
|
|
my $classname = shift; |
61
|
|
|
|
|
|
|
my %args = @_; |
62
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
63
|
|
|
|
|
|
|
return $self; |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub isScalar { |
67
|
|
|
|
|
|
|
return 0; |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 setTaxJurisdiction() |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Sales tax details for zero or more jurisdictions (states, |
75
|
|
|
|
|
|
|
provinces, etc). |
76
|
|
|
|
|
|
|
For GetTaxTable, if DetailLevel is not specified, information is only |
77
|
|
|
|
|
|
|
returned for the jurisdictions for which the user provided tax |
78
|
|
|
|
|
|
|
information. If DetailLevel is ReturnAll, tax information |
79
|
|
|
|
|
|
|
is returned for all possible jurisdictions, whether |
80
|
|
|
|
|
|
|
specified by the user or not. ShippingIncludedInTax and |
81
|
|
|
|
|
|
|
SalesTaxPercent are returned but are empty. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Calls: SetTaxTable |
84
|
|
|
|
|
|
|
RequiredInput: Yes |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
# Argument: reference to an array |
87
|
|
|
|
|
|
|
of 'ns:TaxJurisdictionType' |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=cut |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
sub setTaxJurisdiction { |
92
|
|
|
|
|
|
|
my $self = shift; |
93
|
|
|
|
|
|
|
$self->{'TaxJurisdiction'} = |
94
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
95
|
|
|
|
|
|
|
} |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 getTaxJurisdiction() |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Calls: GetTaxTable |
100
|
|
|
|
|
|
|
Returned: Always |
101
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll, none |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
104
|
|
|
|
|
|
|
Returned: Conditionally |
105
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Calls: GetSellerList |
108
|
|
|
|
|
|
|
Returned: Conditionally |
109
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Calls: GetBidderList |
112
|
|
|
|
|
|
|
GetItemShipping |
113
|
|
|
|
|
|
|
Returned: Conditionally |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Calls: GetItem |
116
|
|
|
|
|
|
|
Returned: Conditionally |
117
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Calls: GetItemTransactions |
120
|
|
|
|
|
|
|
GetSellerTransactions |
121
|
|
|
|
|
|
|
Returned: Conditionally |
122
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# Returns: reference to an array |
125
|
|
|
|
|
|
|
of 'ns:TaxJurisdictionType' |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
sub getTaxJurisdiction { |
130
|
|
|
|
|
|
|
my $self = shift; |
131
|
|
|
|
|
|
|
return $self->_getDataTypeArray('TaxJurisdiction'); |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
## Attribute and Property lists |
139
|
|
|
|
|
|
|
sub getPropertiesList { |
140
|
|
|
|
|
|
|
my $self = shift; |
141
|
|
|
|
|
|
|
return \@gaProperties; |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
sub getAttributesList { |
145
|
|
|
|
|
|
|
my $self = shift; |
146
|
|
|
|
|
|
|
return \@gaAttributes; |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
1; |