File indexing completed on 2025-05-04 05:29:11

0001 <?php
0002 /**
0003  *  ocs-webserver
0004  *
0005  *  Copyright 2016 by pling GmbH.
0006  *
0007  *    This file is part of ocs-webserver.
0008  *
0009  *    This program is free software: you can redistribute it and/or modify
0010  *    it under the terms of the GNU Affero General Public License as
0011  *    published by the Free Software Foundation, either version 3 of the
0012  *    License, or (at your option) any later version.
0013  *
0014  *    This program is distributed in the hope that it will be useful,
0015  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *    GNU Affero General Public License for more details.
0018  *
0019  *    You should have received a copy of the GNU Affero General Public License
0020  *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
0021  **/
0022 
0023 class Default_Model_PayPal_MasspayIpnMessage extends Local_Payment_PayPal_Masspay_Ipn
0024 {
0025 
0026     /** @var \Default_Model_Pling */
0027     protected $_tablePayment;
0028     protected $_payoutsArray;
0029     
0030     protected $_payer_id;
0031     protected $_payment_date;
0032     protected $_payment_status;
0033     protected $_charset;
0034     protected $_first_name;
0035     protected $_notify_version;
0036     protected $_payer_status;
0037     protected $_verify_sign;
0038     protected $_payer_email;
0039     protected $_payer_business_name;
0040     protected $_last_name;
0041     protected $_txn_type;
0042     protected $_residence_country;
0043     protected $_test_ipn;
0044     protected $_ipn_track_id;
0045     
0046     function __construct($config = null, $logger = null)
0047     {
0048         if (null == $logger) {
0049             $logger = Zend_Registry::get('logger');
0050         }
0051 
0052         if (null == $config) {
0053             $config = Zend_Registry::get('config');
0054         }
0055 
0056         parent::__construct($config->third_party->paypal->masspay, $logger);
0057 
0058         $this->_tablePayment = new Default_Model_DbTable_MemberPayout();
0059         
0060     }
0061 
0062 }