ILIAS  release_4-4 Revision
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 1062 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

◆ KreditkartenzahlungWS()

KreditkartenzahlungWS::KreditkartenzahlungWS ( )

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

References $bmfConfig, and ilBMFSettings\getInstance().

1067  {
1068  $bmfSetObj = ilBMFSettings::getInstance();
1069  $bmfConfig = $bmfSetObj->getAll();
1070 
1071  $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"])));
1072  }
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 1074 of file class.ilPurchaseBMFGUI.php.

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

1075  {
1076  $bmfSetObj = ilBMFSettings::getInstance();
1077  $bmfConfig = $bmfSetObj->getAll();
1078 
1079  $tmp = array(
1080  'mandantNr' => $bmfConfig["mandantNr"],
1081  'kreditkarte' => $creditCard,
1082  'waehrungskennzeichen' => $bmfConfig["waehrungskennzeichen"]
1083  );
1084 
1085  $result = $this->_soapClient->call("validierenKreditkarte", $tmp, "KreditkartenzahlungWS");
1086  return $result;
1087  }
$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 1089 of file class.ilPurchaseBMFGUI.php.

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

1090  {
1091  $bmfSetObj = ilBMFSettings::getInstance();
1092  $bmfConfig = $bmfSetObj->getAll();
1093 
1094  $lieferadresse = new LieferAdresse();
1095 
1096  $tmp = array(
1097  'mandantNr' => $bmfConfig["mandantNr"],
1098  'Kunde' => $customer,
1099  'Kreditkarte' => $creditCard,
1100  'buchungsListe' => $bookingList,
1101  'lieferadresse' => $lieferadresse
1102  );
1103 
1104  $result = $this->_soapClient->call("zahlenUndAnlegenKunde", $tmp, "KreditkartenzahlungWS");
1105  return $result;
1106  }
$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 1064 of file class.ilPurchaseBMFGUI.php.


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