* Grateful acknowledgements go to Donald Lobo for invaluable assistance
* in creating this payment processor module
*/
+
+/**
+ * Class CRM_Core_Payment_PaymentExpressIPN
+ */
class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN {
/**
static private $_singleton = NULL;
/**
- * mode of operation: live or test
+ * Mode of operation: live or test
*
* @var object
*/
protected $_mode = NULL;
+ /**
+ * @param string $name
+ * @param $type
+ * @param $object
+ * @param bool $abort
+ *
+ * @return mixed
+ */
static function retrieve($name, $type, $object, $abort = TRUE) {
$value = CRM_Utils_Array::value($name, $object);
if ($abort && $value === NULL) {
*
* @param string $mode the mode of operation: live or test
*
- * @return void
+ * @param $paymentProcessor
+ *
+ * @return \CRM_Core_Payment_PaymentExpressIPN
*/
function __construct($mode, &$paymentProcessor) {
parent::__construct();
}
/**
- * singleton function used to manage this object
+ * Singleton function used to manage this object
*
* @param string $mode the mode of operation: live or test
*
+ * @param $paymentProcessor
+ * @param null $paymentForm
+ * @param bool $force
+ *
* @return object
* @static
*/
/**
* The function gets called when a new order takes place.
*
- * @param xml $dataRoot response send by google in xml format
+ * @param $success
* @param array $privateData contains the name value pair of <merchant-private-data>
*
- * @return void
+ * @param $component
+ * @param $amount
+ * @param $transactionReference
*
+ * @internal param \xml $dataRoot response send by google in xml format
+ * @return void
*/
function newOrderNotify($success, $privateData, $component, $amount, $transactionReference) {
$ids = $input = $params = array();