forked from bhosalearchu/EbatNs_Shopping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSalesTaxType.php
139 lines (137 loc) · 2.69 KB
/
SalesTaxType.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?php
// autogenerated file 10.09.2012 13:13
// $Id: $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
require_once 'AmountType.php';
/**
* Type for expressing sales tax data.
*
* @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/SalesTaxType.html
*
*/
class SalesTaxType extends EbatNs_ComplexType
{
/**
* @var float
*/
protected $SalesTaxPercent;
/**
* @var string
*/
protected $SalesTaxState;
/**
* @var boolean
*/
protected $ShippingIncludedInTax;
/**
* @var AmountType
*/
protected $SalesTaxAmount;
/**
* @return float
*/
function getSalesTaxPercent()
{
return $this->SalesTaxPercent;
}
/**
* @return void
* @param float $value
*/
function setSalesTaxPercent($value)
{
$this->SalesTaxPercent = $value;
}
/**
* @return string
*/
function getSalesTaxState()
{
return $this->SalesTaxState;
}
/**
* @return void
* @param string $value
*/
function setSalesTaxState($value)
{
$this->SalesTaxState = $value;
}
/**
* @return boolean
*/
function getShippingIncludedInTax()
{
return $this->ShippingIncludedInTax;
}
/**
* @return void
* @param boolean $value
*/
function setShippingIncludedInTax($value)
{
$this->ShippingIncludedInTax = $value;
}
/**
* @return AmountType
*/
function getSalesTaxAmount()
{
return $this->SalesTaxAmount;
}
/**
* @return void
* @param AmountType $value
*/
function setSalesTaxAmount($value)
{
$this->SalesTaxAmount = $value;
}
/**
* @return
*/
function __construct()
{
parent::__construct('SalesTaxType', 'urn:ebay:apis:eBLBaseComponents');
if (!isset(self::$_elements[__CLASS__]))
self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
array(
'SalesTaxPercent' =>
array(
'required' => false,
'type' => 'float',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'SalesTaxState' =>
array(
'required' => false,
'type' => 'string',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'ShippingIncludedInTax' =>
array(
'required' => false,
'type' => 'boolean',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'SalesTaxAmount' =>
array(
'required' => false,
'type' => 'AmountType',
'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
'array' => false,
'cardinality' => '0..1'
)
));
}
}
?>