public function init($arr = null)
 {
     if ($arr != null) {
         parent::init($arr);
         foreach ($arr as $arry) {
             if (is_array($arry["children"]) && $arry["children"] != null) {
                 if ($arry["name"] == 'uatpdetails') {
                     $this->UATPDetails = new UATPDetailsType();
                     $this->UATPDetails->init($arry["children"]);
                 }
             }
             if ($arry != null && isset($arry['text']) && $arry['name'] == 'authorizationcode') {
                 $this->AuthorizationCode = $arry["text"];
             }
             if ($arry != null && isset($arry['text']) && $arry['name'] == 'invoiceid') {
                 $this->InvoiceID = $arry["text"];
             }
             if ($arry != null && isset($arry['text']) && $arry['name'] == 'msgsubid') {
                 $this->MsgSubID = $arry["text"];
             }
         }
     }
 }