

Public Member Functions | |
| AddressType () | |
| getName () | |
| setName ($Name, $charset= 'iso-8859-1') | |
| getStreet1 () | |
| setStreet1 ($Street1, $charset= 'iso-8859-1') | |
| getStreet2 () | |
| setStreet2 ($Street2, $charset= 'iso-8859-1') | |
| getCityName () | |
| setCityName ($CityName, $charset= 'iso-8859-1') | |
| getStateOrProvince () | |
| setStateOrProvince ($StateOrProvince, $charset= 'iso-8859-1') | |
| getCountry () | |
| setCountry ($Country, $charset= 'iso-8859-1') | |
| getCountryName () | |
| setCountryName ($CountryName, $charset= 'iso-8859-1') | |
| getPhone () | |
| setPhone ($Phone, $charset= 'iso-8859-1') | |
| getPostalCode () | |
| setPostalCode ($PostalCode, $charset= 'iso-8859-1') | |
| getAddressID () | |
| setAddressID ($AddressID, $charset= 'iso-8859-1') | |
| getAddressOwner () | |
| setAddressOwner ($AddressOwner, $charset= 'iso-8859-1') | |
| getExternalAddressID () | |
| setExternalAddressID ($ExternalAddressID, $charset= 'iso-8859-1') | |
| getInternationalName () | |
| setInternationalName ($InternationalName, $charset= 'iso-8859-1') | |
| getInternationalStateAndCity () | |
| setInternationalStateAndCity ($InternationalStateAndCity, $charset= 'iso-8859-1') | |
| getInternationalStreet () | |
| setInternationalStreet ($InternationalStreet, $charset= 'iso-8859-1') | |
| getAddressStatus () | |
| setAddressStatus ($AddressStatus, $charset= 'iso-8859-1') | |
| & | getSoapValue ($name, $ns=null) |
| setattr ($attribute, $value) | |
| getattr ($attribute) | |
| __set_attribute ($key, $value) | |
Public Attributes | |
| $Name | |
| $Street1 | |
| $Street2 | |
| $CityName | |
| $StateOrProvince | |
| $Country | |
| $CountryName | |
| $Phone | |
| $PostalCode | |
| $AddressID | |
| $AddressOwner | |
| $ExternalAddressID | |
| $InternationalName | |
| $InternationalStateAndCity | |
| $InternationalStreet | |
| $AddressStatus | |
| $_elements = array() | |
| $_attributes = array() | |
| $_attributeValues = array() | |
| $_namespace | |
Definition at line 16 of file AddressType.php.
|
|
Definition at line 67 of file AddressType.php. 00068 { 00069 parent::XSDType(); 00070 $this->_namespace = 'urn:ebay:apis:eBLBaseComponents'; 00071 $this->_elements = array_merge($this->_elements, 00072 array ( 00073 'Name' => 00074 array ( 00075 'required' => false, 00076 'type' => 'string', 00077 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00078 ), 00079 'Street1' => 00080 array ( 00081 'required' => false, 00082 'type' => 'string', 00083 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00084 ), 00085 'Street2' => 00086 array ( 00087 'required' => false, 00088 'type' => 'string', 00089 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00090 ), 00091 'CityName' => 00092 array ( 00093 'required' => false, 00094 'type' => 'string', 00095 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00096 ), 00097 'StateOrProvince' => 00098 array ( 00099 'required' => false, 00100 'type' => 'string', 00101 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00102 ), 00103 'Country' => 00104 array ( 00105 'required' => false, 00106 'type' => NULL, 00107 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00108 ), 00109 'CountryName' => 00110 array ( 00111 'required' => false, 00112 'type' => NULL, 00113 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00114 ), 00115 'Phone' => 00116 array ( 00117 'required' => false, 00118 'type' => 'string', 00119 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00120 ), 00121 'PostalCode' => 00122 array ( 00123 'required' => false, 00124 'type' => 'string', 00125 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00126 ), 00127 'AddressID' => 00128 array ( 00129 'required' => false, 00130 'type' => 'string', 00131 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00132 ), 00133 'AddressOwner' => 00134 array ( 00135 'required' => false, 00136 'type' => 'AddressOwnerCodeType', 00137 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00138 ), 00139 'ExternalAddressID' => 00140 array ( 00141 'required' => false, 00142 'type' => 'string', 00143 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00144 ), 00145 'InternationalName' => 00146 array ( 00147 'required' => false, 00148 'type' => 'string', 00149 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00150 ), 00151 'InternationalStateAndCity' => 00152 array ( 00153 'required' => false, 00154 'type' => 'string', 00155 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00156 ), 00157 'InternationalStreet' => 00158 array ( 00159 'required' => false, 00160 'type' => 'string', 00161 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00162 ), 00163 'AddressStatus' => 00164 array ( 00165 'required' => false, 00166 'type' => 'AddressStatusCodeType', 00167 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00168 ), 00169 )); 00170 }
|
|
||||||||||||
|
Callback for SOAP_Base::_decode() to set attributes during response decoding. Definition at line 150 of file XSDType.php. References XSDType::setattr(). 00151 { 00152 return $this->setattr($key, $value); 00153 }
|
|
|
Definition at line 253 of file AddressType.php.
|
|
|
Definition at line 262 of file AddressType.php.
|
|
|
Definition at line 307 of file AddressType.php.
|
|
|
Get the value of an attribute on this object. Definition at line 139 of file XSDType.php. 00140 { 00141 return isset($this->_attributeValues[$attribute]) ? 00142 $this->_attributeValues[$attribute] : 00143 null; 00144 }
|
|
|
Definition at line 199 of file AddressType.php.
|
|
|
Definition at line 217 of file AddressType.php.
|
|
|
Definition at line 226 of file AddressType.php.
|
|
|
Definition at line 271 of file AddressType.php.
|
|
|
Definition at line 280 of file AddressType.php.
|
|
|
Definition at line 289 of file AddressType.php.
|
|
|
Definition at line 298 of file AddressType.php.
|
|
|
Definition at line 172 of file AddressType.php.
|
|
|
Definition at line 235 of file AddressType.php.
|
|
|
Definition at line 244 of file AddressType.php.
|
|
||||||||||||
|
Turn this type into a SOAP_Value object useable with SOAP_Client.
Definition at line 69 of file XSDType.php. References $i, $value, name, and Value. 00070 { 00071 include_once 'Services/PayPal/SOAP/Value.php'; 00072 00073 $elements = array(); 00074 foreach ($this->_elements as $ename => $element) { 00075 $value = $this->$ename; 00076 00077 // Values that are null and not required can be omitted 00078 // from the serialized XML (and thus the SOAP_Value 00079 // object) entirely. 00080 if (is_null($value) && !$element['required']) { 00081 continue; 00082 } 00083 00084 // Append namespace prefixes if this element came from a 00085 // namespace different from the base type's namespace. 00086 if (!empty($element['namespace']) && $element['namespace'] != $this->_namespace) { 00087 $ename = '{' . $element['namespace'] . '}' . $ename; 00088 } 00089 00090 if (is_a($value, 'XSDType')) { 00091 $elements[] =& $value->getSoapValue($ename, $this->_namespace); 00092 } elseif(is_array($value)) { 00093 for($i = 0; $i < count($value); $i++) { 00094 if (is_a($value[$i], 'XSDType')) { 00095 $elements[] =& $value[$i]->getSoapValue($ename, $this->_namespace); 00096 } else { 00097 if (is_string($value[$i]) && $element['charset'] == 'iso-8859-1' && 00098 (utf8_encode(utf8_decode($value[$i])) != $value[$i])) { 00099 $value[$i] = utf8_encode($value[$i]); 00100 } 00101 $elements[] =& new SOAP_Value($ename, $element['type'], $value[$i]); 00102 } 00103 } 00104 } else { 00105 if (is_string($value) && $element['charset'] == 'iso-8859-1' && 00106 (utf8_encode(utf8_decode($value)) != $value)) { 00107 $value = utf8_encode($value); 00108 } 00109 $elements[] =& new SOAP_Value($ename, $element['type'], $value); 00110 } 00111 } 00112 00113 if (count($elements) == 1) { 00114 $elements = array_shift($elements); 00115 } 00116 00117 if (!is_null($ns) && $ns != $this->_namespace) { 00118 $this->_attributeValues['xmlns'] = $this->_namespace; 00119 } 00120 00121 if (count($this->_attributeValues)) { 00122 return $v =& new SOAP_Value($name, '', $elements, $this->_attributeValues); 00123 } else { 00124 return $v =& new SOAP_Value($name, '', $elements); 00125 } 00126 }
|
|
|
Definition at line 208 of file AddressType.php.
|
|
|
Definition at line 181 of file AddressType.php.
|
|
|
Definition at line 190 of file AddressType.php.
|
|
||||||||||||
|
Definition at line 257 of file AddressType.php. References $AddressID. 00258 { 00259 $this->AddressID = $AddressID; 00260 $this->_elements['AddressID']['charset'] = $charset; 00261 }
|
|
||||||||||||
|
Definition at line 266 of file AddressType.php. References $AddressOwner. 00267 { 00268 $this->AddressOwner = $AddressOwner; 00269 $this->_elements['AddressOwner']['charset'] = $charset; 00270 }
|
|
||||||||||||
|
Definition at line 311 of file AddressType.php. References $AddressStatus. 00312 { 00313 $this->AddressStatus = $AddressStatus; 00314 $this->_elements['AddressStatus']['charset'] = $charset; 00315 }
|
|
||||||||||||
|
Set the value of an attribute on this object. Definition at line 131 of file XSDType.php. References $value. Referenced by XSDType::__set_attribute(). 00132 { 00133 $this->_attributeValues[$attribute] = $value; 00134 }
|
|
||||||||||||
|
Definition at line 203 of file AddressType.php. References $CityName. 00204 { 00205 $this->CityName = $CityName; 00206 $this->_elements['CityName']['charset'] = $charset; 00207 }
|
|
||||||||||||
|
Definition at line 221 of file AddressType.php. References $Country. 00222 { 00223 $this->Country = $Country; 00224 $this->_elements['Country']['charset'] = $charset; 00225 }
|
|
||||||||||||
|
Definition at line 230 of file AddressType.php. References $CountryName. 00231 { 00232 $this->CountryName = $CountryName; 00233 $this->_elements['CountryName']['charset'] = $charset; 00234 }
|
|
||||||||||||
|
Definition at line 275 of file AddressType.php. References $ExternalAddressID. 00276 { 00277 $this->ExternalAddressID = $ExternalAddressID; 00278 $this->_elements['ExternalAddressID']['charset'] = $charset; 00279 }
|
|
||||||||||||
|
Definition at line 284 of file AddressType.php. References $InternationalName. 00285 { 00286 $this->InternationalName = $InternationalName; 00287 $this->_elements['InternationalName']['charset'] = $charset; 00288 }
|
|
||||||||||||
|
Definition at line 293 of file AddressType.php. References $InternationalStateAndCity. 00294 { 00295 $this->InternationalStateAndCity = $InternationalStateAndCity; 00296 $this->_elements['InternationalStateAndCity']['charset'] = $charset; 00297 }
|
|
||||||||||||
|
Definition at line 302 of file AddressType.php. References $InternationalStreet. 00303 { 00304 $this->InternationalStreet = $InternationalStreet; 00305 $this->_elements['InternationalStreet']['charset'] = $charset; 00306 }
|
|
||||||||||||
|
Definition at line 176 of file AddressType.php. References $Name. 00177 { 00178 $this->Name = $Name; 00179 $this->_elements['Name']['charset'] = $charset; 00180 }
|
|
||||||||||||
|
Definition at line 239 of file AddressType.php. References $Phone. 00240 { 00241 $this->Phone = $Phone; 00242 $this->_elements['Phone']['charset'] = $charset; 00243 }
|
|
||||||||||||
|
Definition at line 248 of file AddressType.php. References $PostalCode. 00249 { 00250 $this->PostalCode = $PostalCode; 00251 $this->_elements['PostalCode']['charset'] = $charset; 00252 }
|
|
||||||||||||
|
Definition at line 212 of file AddressType.php. References $StateOrProvince. 00213 { 00214 $this->StateOrProvince = $StateOrProvince; 00215 $this->_elements['StateOrProvince']['charset'] = $charset; 00216 }
|
|
||||||||||||
|
Definition at line 185 of file AddressType.php. References $Street1. 00186 { 00187 $this->Street1 = $Street1; 00188 $this->_elements['Street1']['charset'] = $charset; 00189 }
|
|
||||||||||||
|
Definition at line 194 of file AddressType.php. References $Street2. 00195 { 00196 $this->Street2 = $Street2; 00197 $this->_elements['Street2']['charset'] = $charset; 00198 }
|
|
|
Definition at line 33 of file XSDType.php. |
|
|
Definition at line 42 of file XSDType.php. |
|
|
Definition at line 24 of file XSDType.php. |
|
|
Definition at line 51 of file XSDType.php. |
|
|
Definition at line 41 of file AddressType.php. Referenced by setAddressID(). |
|
|
Definition at line 43 of file AddressType.php. Referenced by setAddressOwner(). |
|
|
Definition at line 65 of file AddressType.php. Referenced by setAddressStatus(). |
|
|
Definition at line 24 of file AddressType.php. Referenced by setCityName(). |
|
|
Definition at line 28 of file AddressType.php. Referenced by setCountry(). |
|
|
This element should only be used in response elements and typically should not be used in creating request messages which specify the name of a country using the Country element (which refers to a 2-letter country code). Definition at line 35 of file AddressType.php. Referenced by setCountryName(). |
|
|
Definition at line 45 of file AddressType.php. Referenced by setExternalAddressID(). |
|
|
Only applicable to SellerPaymentAddress today. Seller's international name that is associated with the payment address. Definition at line 51 of file AddressType.php. Referenced by setInternationalName(). |
|
|
Only applicable to SellerPaymentAddress today. International state and city for the seller's payment address. Definition at line 57 of file AddressType.php. Referenced by setInternationalStateAndCity(). |
|
|
Only applicable to SellerPaymentAddress today. Seller's international street address that is associated with the payment address. Definition at line 63 of file AddressType.php. Referenced by setInternationalStreet(). |
|
|
Definition at line 18 of file AddressType.php. Referenced by setName(). |
|
|
Definition at line 37 of file AddressType.php. Referenced by setPhone(). |
|
|
Definition at line 39 of file AddressType.php. Referenced by setPostalCode(). |
|
|
Definition at line 26 of file AddressType.php. Referenced by setStateOrProvince(). |
|
|
Definition at line 20 of file AddressType.php. Referenced by setStreet1(). |
|
|
Definition at line 22 of file AddressType.php. Referenced by setStreet2(). |
1.4.4