ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
KreditkartenzahlungWS Class Reference
+ Collaboration diagram for KreditkartenzahlungWS:

Public Member Functions

 KreditkartenzahlungWS ()
 
 validierenKreditkarte ($creditCard)
 
 zahlenUndAnlegenKunde ($customer, $creditCard, $bookingList)
 

Data Fields

 $_soapClient = NULL
 

Detailed Description

Definition at line 1065 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

◆ KreditkartenzahlungWS()

KreditkartenzahlungWS::KreditkartenzahlungWS ( )

Definition at line 1069 of file class.ilPurchaseBMFGUI.php.

References $bmfConfig, and ilBMFSettings\getInstance().

1070  {
1071  $bmfSetObj = ilBMFSettings::getInstance();
1072  $bmfConfig = $bmfSetObj->getAll();
1073 
1074  $this->_soapClient = new ilBMFClient($bmfConfig["ePaymentServer"], false, false, array('curl' => array(CURLOPT_SSLCERT => $bmfConfig["clientCertificate"], CURLE_SSL_PEER_CERTIFICATE => $bmfConfig["caCertificate"], CURLOPT_TIMEOUT => (int)$bmfConfig["timeOut"])));
1075  }
static getInstance()
Static method to get the singleton instance.
$bmfConfig
+ Here is the call graph for this function:

◆ validierenKreditkarte()

KreditkartenzahlungWS::validierenKreditkarte (   $creditCard)

Definition at line 1077 of file class.ilPurchaseBMFGUI.php.

References $bmfConfig, $result, and ilBMFSettings\getInstance().

1078  {
1079  $bmfSetObj = ilBMFSettings::getInstance();
1080  $bmfConfig = $bmfSetObj->getAll();
1081 
1082  $tmp = array(
1083  'mandantNr' => $bmfConfig["mandantNr"],
1084  'kreditkarte' => $creditCard,
1085  'waehrungskennzeichen' => $bmfConfig["waehrungskennzeichen"]
1086  );
1087 
1088  $result = $this->_soapClient->call("validierenKreditkarte", $tmp, "KreditkartenzahlungWS");
1089  return $result;
1090  }
$result
static getInstance()
Static method to get the singleton instance.
$bmfConfig
+ Here is the call graph for this function:

◆ zahlenUndAnlegenKunde()

KreditkartenzahlungWS::zahlenUndAnlegenKunde (   $customer,
  $creditCard,
  $bookingList 
)

Definition at line 1092 of file class.ilPurchaseBMFGUI.php.

References $bmfConfig, $result, and ilBMFSettings\getInstance().

1093  {
1094  $bmfSetObj = ilBMFSettings::getInstance();
1095  $bmfConfig = $bmfSetObj->getAll();
1096 
1097  $lieferadresse = new LieferAdresse();
1098 
1099  $tmp = array(
1100  'mandantNr' => $bmfConfig["mandantNr"],
1101  'Kunde' => $customer,
1102  'Kreditkarte' => $creditCard,
1103  'buchungsListe' => $bookingList,
1104  'lieferadresse' => $lieferadresse
1105  );
1106 
1107  $result = $this->_soapClient->call("zahlenUndAnlegenKunde", $tmp, "KreditkartenzahlungWS");
1108  return $result;
1109  }
$result
static getInstance()
Static method to get the singleton instance.
$bmfConfig
+ Here is the call graph for this function:

Field Documentation

◆ $_soapClient

KreditkartenzahlungWS::$_soapClient = NULL

Definition at line 1067 of file class.ilPurchaseBMFGUI.php.


The documentation for this class was generated from the following file: