add contract
This commit is contained in:
@@ -47,4 +47,24 @@ class GiroDETSTA extends GiroBase {
|
||||
return $detsta;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param common\components\giro\GiroBeszed $beszed
|
||||
* */
|
||||
public static function createBeszedAnswer($beszed){
|
||||
// /**@var common\components\giro\GiroBeszed $beszed*/
|
||||
$beszed = new GiroBeszed();
|
||||
$detsta = new GiroDETSTA();
|
||||
$detsta->fej = new GiroDETSTAFej();
|
||||
|
||||
$detsta->fej->jelentesJelzo = 8;
|
||||
$detsta->fej->kezdemenyezoAzonosito = $beszed->fej->kezdemenyezoAzonosito;
|
||||
$detsta->fej->csoportosUzenetSorszam->osszeallitasDatuma = $beszed->fej->uzenetSorszam->osszeallitasDatuma;
|
||||
$detsta->fej->csoportosUzenetSorszam->sorszam = $beszed->fej->uzenetSorszam->sorszam;
|
||||
$detsta->fej->detstaUzenetSorszam->osszeallitasDatuma = $beszed->fej->uzenetSorszam->osszeallitasDatuma;
|
||||
$detsta->fej->detstaUzenetSorszam = $beszed->fej->uzenetSorszam->sorszam;
|
||||
|
||||
|
||||
$detsta->lab = new GiroDETSTALab();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user