public function toXMLString() { $str = ''; $str .= '<ns:ReverseTransactionReq>'; if ($this->ReverseTransactionRequest != NULL) { $str .= '<ns:ReverseTransactionRequest>'; $str .= $this->ReverseTransactionRequest->toXMLString(); $str .= '</ns:ReverseTransactionRequest>'; } $str .= '</ns:ReverseTransactionReq>'; return $str; }
public function toXMLString() { $str = ''; $str .= '<urn:ReverseTransactionReq>'; if ($this->ReverseTransactionRequest != null) { //prop is not a collection //prop is complex //prop is not enum //does not contain attribute or is attribute $str .= '<urn:ReverseTransactionRequest>'; $str .= $this->ReverseTransactionRequest->toXMLString(); $str .= '</urn:ReverseTransactionRequest>'; } $str .= '</urn:ReverseTransactionReq>'; return $str; }