add kulcsok, add tartós beszedés, add ticket type with intallments
This commit is contained in:
44
common/components/giro/GiroBeszedTetel.php
Normal file
44
common/components/giro/GiroBeszedTetel.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
namespace common\components\giro;
|
||||
|
||||
use common\components\giro\GiroBase;
|
||||
/**
|
||||
* @property common\components\giro\GiroUzenetsorszam $uzenetSorszam
|
||||
* @property common\components\giro\GiroBankszamla $kotelezettBankszamla
|
||||
* */
|
||||
class GiroBeszedTetel extends GiroBase{
|
||||
|
||||
public $rekordTipus = "02";
|
||||
public $tetelSorszam = 0;
|
||||
public $terhelesiDatum = "";
|
||||
public $osszeg;
|
||||
public $kotelezettBankszamla;
|
||||
public $ugyfelazonositoAKezdemenyezonel;
|
||||
public $ugyfelNeve;
|
||||
public $ugyfelCime;
|
||||
public $szamlaTulajdonosNeve;
|
||||
public $kozlemeny;
|
||||
|
||||
|
||||
public function __construct(){
|
||||
$this->kotelezettBankszamla = new GiroBankszamla();
|
||||
}
|
||||
|
||||
public function toString(){
|
||||
return $this->rekordTipus
|
||||
. $this->szamKitolt($this->tetelSorszam,6)
|
||||
. $this->terhelesiDatum
|
||||
. $this->szamKitolt($this->osszeg, 10)
|
||||
. $this->kotelezettBankszamla->toString()
|
||||
. $this->szovegKitolt($this->ugyfelazonositoAKezdemenyezonel ,24)
|
||||
. $this->szovegKitolt( $this->ugyfelNeve ,35 )
|
||||
. $this->szovegKitolt($this->ugyfelCime , 35 )
|
||||
. $this->szovegKitolt($this->szamlaTulajdonosNeve , 35 )
|
||||
. $this->szovegKitolt($this->kozlemeny , 70 )
|
||||
. $this->rekordVege()
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user