forked from bhosalearchu/EbatNs_Shopping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBusinessSellerDetailsType.php
251 lines (249 loc) · 4.97 KB
/
BusinessSellerDetailsType.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<?php
// autogenerated file 10.09.2012 13:13
// $Id: $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
require_once 'VATDetailsType.php';
require_once 'AddressType.php';
/**
* Displays the seller's information (in a business card format) as part of the
* data returned in the GetSingleItem call if the seller's SellerBusinessCodeType
* is set to 'Commercial'. Note that this option is only available for sites that
* have Business Seller options enabled.
*
* @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/BusinessSellerDetailsType.html
*
*/
class BusinessSellerDetailsType extends EbatNs_ComplexType
{
/**
* @var AddressType
*/
protected $Address;
/**
* @var string
*/
protected $Fax;
/**
* @var string
*/
protected $Email;
/**
* @var string
*/
protected $AdditionalContactInformation;
/**
* @var string
*/
protected $TradeRegistrationNumber;
/**
* @var boolean
*/
protected $LegalInvoice;
/**
* @var string
*/
protected $TermsAndConditions;
/**
* @var VATDetailsType
*/
protected $VATDetails;
/**
* @return AddressType
*/
function getAddress()
{
return $this->Address;
}
/**
* @return void
* @param AddressType $value
*/
function setAddress($value)
{
$this->Address = $value;
}
/**
* @return string
*/
function getFax()
{
return $this->Fax;
}
/**
* @return void
* @param string $value
*/
function setFax($value)
{
$this->Fax = $value;
}
/**
* @return string
*/
function getEmail()
{
return $this->Email;
}
/**
* @return void
* @param string $value
*/
function setEmail($value)
{
$this->Email = $value;
}
/**
* @return string
*/
function getAdditionalContactInformation()
{
return $this->AdditionalContactInformation;
}
/**
* @return void
* @param string $value
*/
function setAdditionalContactInformation($value)
{
$this->AdditionalContactInformation = $value;
}
/**
* @return string
*/
function getTradeRegistrationNumber()
{
return $this->TradeRegistrationNumber;
}
/**
* @return void
* @param string $value
*/
function setTradeRegistrationNumber($value)
{
$this->TradeRegistrationNumber = $value;
}
/**
* @return boolean
*/
function getLegalInvoice()
{
return $this->LegalInvoice;
}
/**
* @return void
* @param boolean $value
*/
function setLegalInvoice($value)
{
$this->LegalInvoice = $value;
}
/**
* @return string
*/
function getTermsAndConditions()
{
return $this->TermsAndConditions;
}
/**
* @return void
* @param string $value
*/
function setTermsAndConditions($value)
{
$this->TermsAndConditions = $value;
}
/**
* @return VATDetailsType
*/
function getVATDetails()
{
return $this->VATDetails;
}
/**
* @return void
* @param VATDetailsType $value
*/
function setVATDetails($value)
{
$this->VATDetails = $value;
}
/**
* @return
*/
function __construct()
{
parent::__construct('BusinessSellerDetailsType', 'urn:ebay:apis:eBLBaseComponents');
if (!isset(self::$_elements[__CLASS__]))
self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
array(
'Address' =>
array(
'required' => false,
'type' => 'AddressType',
'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
'array' => false,
'cardinality' => '0..1'
),
'Fax' =>
array(
'required' => false,
'type' => 'string',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'Email' =>
array(
'required' => false,
'type' => 'string',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'AdditionalContactInformation' =>
array(
'required' => false,
'type' => 'string',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'TradeRegistrationNumber' =>
array(
'required' => false,
'type' => 'string',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'LegalInvoice' =>
array(
'required' => false,
'type' => 'boolean',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'TermsAndConditions' =>
array(
'required' => false,
'type' => 'string',
'nsURI' => 'http://www.w3.org/2001/XMLSchema',
'array' => false,
'cardinality' => '0..1'
),
'VATDetails' =>
array(
'required' => false,
'type' => 'VATDetailsType',
'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
'array' => false,
'cardinality' => '0..1'
)
));
}
}
?>