

Public Member Functions | |
| DoDirectPaymentRequestType () | |
| getDoDirectPaymentRequestDetails () | |
| setDoDirectPaymentRequestDetails ($DoDirectPaymentRequestDetails, $charset= 'iso-8859-1') | |
| getDetailLevel () | |
| setDetailLevel ($DetailLevel, $charset= 'iso-8859-1') | |
| getErrorLanguage () | |
| setErrorLanguage ($ErrorLanguage, $charset= 'iso-8859-1') | |
| getMessageID () | |
| setMessageID ($MessageID, $charset= 'iso-8859-1') | |
| getVersion () | |
| setVersion ($Version, $charset= 'iso-8859-1') | |
| & | getSoapValue ($name, $ns=null) |
| setattr ($attribute, $value) | |
| getattr ($attribute) | |
| __set_attribute ($key, $value) | |
Public Attributes | |
| $DoDirectPaymentRequestDetails | |
| $DetailLevel | |
| $ErrorLanguage | |
| $MessageID | |
| $Version | |
| $_elements = array() | |
| $_attributes = array() | |
| $_attributeValues = array() | |
| $_namespace | |
Definition at line 16 of file DoDirectPaymentRequestType.php.
|
|
Definition at line 20 of file DoDirectPaymentRequestType.php. 00021 { 00022 parent::AbstractRequestType(); 00023 $this->_namespace = 'urn:ebay:api:PayPalAPI'; 00024 $this->_elements = array_merge($this->_elements, 00025 array ( 00026 'DoDirectPaymentRequestDetails' => 00027 array ( 00028 'required' => true, 00029 'type' => 'DoDirectPaymentRequestDetailsType', 00030 'namespace' => 'urn:ebay:apis:eBLBaseComponents', 00031 ), 00032 )); 00033 }
|
|
||||||||||||
|
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 }
|
|
|
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 78 of file AbstractRequestType.php.
|
|
|
Definition at line 35 of file DoDirectPaymentRequestType.php.
|
|
|
Definition at line 87 of file AbstractRequestType.php.
|
|
|
Definition at line 96 of file AbstractRequestType.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 105 of file AbstractRequestType.php.
|
|
||||||||||||
|
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 82 of file AbstractRequestType.php. References AbstractRequestType::$DetailLevel. 00083 { 00084 $this->DetailLevel = $DetailLevel; 00085 $this->_elements['DetailLevel']['charset'] = $charset; 00086 }
|
|
||||||||||||
|
Definition at line 39 of file DoDirectPaymentRequestType.php. References $DoDirectPaymentRequestDetails. 00040 { 00041 $this->DoDirectPaymentRequestDetails = $DoDirectPaymentRequestDetails; 00042 $this->_elements['DoDirectPaymentRequestDetails']['charset'] = $charset; 00043 }
|
|
||||||||||||
|
Definition at line 91 of file AbstractRequestType.php. References AbstractRequestType::$ErrorLanguage. 00092 { 00093 $this->ErrorLanguage = $ErrorLanguage; 00094 $this->_elements['ErrorLanguage']['charset'] = $charset; 00095 }
|
|
||||||||||||
|
Definition at line 100 of file AbstractRequestType.php. References AbstractRequestType::$MessageID. 00101 { 00102 $this->MessageID = $MessageID; 00103 $this->_elements['MessageID']['charset'] = $charset; 00104 }
|
|
||||||||||||
|
Definition at line 109 of file AbstractRequestType.php. References AbstractRequestType::$Version. 00110 { 00111 $this->Version = $Version; 00112 $this->_elements['Version']['charset'] = $charset; 00113 }
|
|
|
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. |
|
|
This specifies the required detail level that is needed by a client application pertaining to a particular data component (e.g., Item, Transaction, etc.). The detail level is specified in the DetailLevelCodeType which has all the enumerated values of the detail level for each component. Definition at line 27 of file AbstractRequestType.php. Referenced by AbstractRequestType::setDetailLevel(). |
|
|
Definition at line 18 of file DoDirectPaymentRequestType.php. Referenced by setDoDirectPaymentRequestDetails(). |
|
|
This should be the standard RFC 3066 language identification tag, e.g., en_US. Definition at line 32 of file AbstractRequestType.php. Referenced by AbstractRequestType::setErrorLanguage(). |
|
|
The MessageID is used to correlate (i.e., reference) the response message to a specific request message. Definition at line 38 of file AbstractRequestType.php. Referenced by AbstractRequestType::setMessageID(). |
|
|
This refers to the version of the request payload schema. Definition at line 43 of file AbstractRequestType.php. Referenced by AbstractRequestType::setVersion(). |
1.4.4