| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetTaxTable; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2251
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
26
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
26
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. GetTaxTable.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::GetTaxTable |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetTaxTable inherits from the L class |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
|
36
|
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::BaseCall; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetTaxTable::GetTaxTableRequestType; |
|
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetTaxTable::GetTaxTableResponseType; |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
|
49
|
|
|
|
|
|
|
return 'GetTaxTable'; |
|
50
|
|
|
|
|
|
|
} |
|
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
|
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetTaxTable::GetTaxTableRequestType'; |
|
53
|
|
|
|
|
|
|
} |
|
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
|
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetTaxTable::GetTaxTableResponseType'; |
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
|
59
|
|
|
|
|
|
|
# input properties |
|
60
|
|
|
|
|
|
|
# |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
# |
|
65
|
|
|
|
|
|
|
# output properties |
|
66
|
|
|
|
|
|
|
# |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 getLastUpdateTime() |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The last time (in GMT) that the tax table was updated. |
|
71
|
|
|
|
|
|
|
Only returned if the user previously created a tax table |
|
72
|
|
|
|
|
|
|
and if the site has jurisdictions. |
|
73
|
|
|
|
|
|
|
LastUpdateTime is useful for synchronization. If you cache the user's |
|
74
|
|
|
|
|
|
|
tax table, you can use GetTaxTable to check if it has changed and |
|
75
|
|
|
|
|
|
|
whether you need to update the cached tax table. |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Returned: Conditionally |
|
78
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll, none |
|
79
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub getLastUpdateTime { |
|
84
|
|
|
|
|
|
|
my $self = shift; |
|
85
|
|
|
|
|
|
|
return $self->getResponseDataType()->getLastUpdateTime(); |
|
86
|
|
|
|
|
|
|
} |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 getTaxTable() |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
A container of tax jurisdiction information unique to |
|
91
|
|
|
|
|
|
|
a user/site combination. Empty if not set for user. |
|
92
|
|
|
|
|
|
|
If DetailLevel is not specified, information is only |
|
93
|
|
|
|
|
|
|
returned for the jurisdictions for which the user provided tax |
|
94
|
|
|
|
|
|
|
information. If DetailLevel is ReturnAll, tax information |
|
95
|
|
|
|
|
|
|
is returned for all possible jurisdictions, whether |
|
96
|
|
|
|
|
|
|
specified by the user or not. ShippingIncludedInTax and |
|
97
|
|
|
|
|
|
|
SalesTaxPercent are returned but are empty. |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Returned: Always |
|
100
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll, none |
|
101
|
|
|
|
|
|
|
# Returns: 'ns:TaxTableType' |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub getTaxTable { |
|
106
|
|
|
|
|
|
|
my $self = shift; |
|
107
|
|
|
|
|
|
|
return $self->getResponseDataType()->getTaxTable(); |
|
108
|
|
|
|
|
|
|
} |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
1; |