15 include_once
'./Services/Payment/classes/class.ilPaymentSettings.php';
49 return self::$instance;
74 $result_bmf = $this->pSettings->get(
'bmf');
77 if ($result_bmf !=
"" && $result_bmf != NULL)
79 $data = unserialize($result_bmf);
119 $this->client_id = $a_client_id;
127 $this->bewirtschafter_nr = $a_bewirtschafter_nr;
135 $this->haushaltsstelle = $a_haushaltsstelle;
143 $this->object_id = $a_object_id;
151 $this->kennzeichen_mahnverfahren = $a_kennzeichen_mahnverfahren;
159 $this->waehrungs_kennzeichen = $a_waehrungs_kennzeichen;
167 $this->epayment_server = $a_epayment_server;
175 $this->client_certificate = $a_client_certificate;
183 $this->ca_certificate = $a_ca_certificate;
191 $this->timeout = $a_timeout;
216 "timeOut" => $this->getTimeOut()
230 $this->pSettings->set(
'bmf', NULL,
'bmf');
260 "timeOut" => $this->getTimeOut()
264 $this->pSettings->set(
'bmf',serialize($values),
'bmf');
setWaehrungsKennzeichen($a_waehrungs_kennzeichen)
getAll()
Returns array of all bmf settings.
setKennzeichenMahnverfahren($a_kennzeichen_mahnverfahren)
static getInstance()
Static method to get the singleton instance.
setHaushaltsstelle($a_haushaltsstelle)
setEpaymentServer($a_epayment_server)
$kennzeichen_mahnverfahren
setCaCertificate($a_ca_certificate)
clearAll()
Clears the payment settings for the bmf payment method.
getWaehrungsKennzeichen()
fetchSettingsId()
Fetches and sets the primary key of the payment settings.
setSettingsId($a_settings_id=0)
getKennzeichenMahnverfahren()
save()
Inserts or updates (if payment settings already exist) the bmf settings data.
setClientCertificate($a_client_certificate)
setClientId($a_client_id)
ilBMFSettings()
Constructor.
getSettings()
Called from constructor to fetch settings from database.
setBewirtschafterNr($a_bewirtschafter_nr)
setObjectId($a_object_id)