Skip to content

Commit

Permalink
1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dyd committed Jun 8, 2020
1 parent 70dcb45 commit ff27c56
Show file tree
Hide file tree
Showing 106 changed files with 6,497 additions and 1,102 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Requirements
------------

* Magento Community Edition > 1.7 (Tested up to: __1.9.3.1__)
* [GenesisPHP v1.17.0](https://github.com/GenesisGateway/genesis_php/releases/tag/1.17.0) - (Integrated in Module)
* [GenesisPHP v1.18.3](https://github.com/GenesisGateway/genesis_php/releases/tag/1.18.3) - (Integrated in Module)
* PCI-certified server in order to use ```emerchantpay Direct```

*Note:* This module has been tested only with Magento __Community Edition__, it may not work
Expand Down
4 changes: 2 additions & 2 deletions app/code/community/EMerchantPay/Genesis/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GNU General Public License for more details.
<config>
<modules>
<EMerchantPay_Genesis>
<version>1.5.3</version>
<version>1.5.5</version>
</EMerchantPay_Genesis>
</modules>

Expand Down Expand Up @@ -185,4 +185,4 @@ GNU General Public License for more details.
</emerchantpay_checkout_charge_recurring_profile>
</jobs>
</crontab>
</config>
</config>
55 changes: 55 additions & 0 deletions lib/Genesis/src/Genesis/API/Constants/BankAccountTypes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
/*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @license http://opensource.org/licenses/MIT The MIT License
*/

namespace Genesis\Api\Constants;

/**
* Class BankAccountTypes
* @package Genesis\Api\Constants
*/
class BankAccountTypes
{
/**
* C: for Checking accounts
*/
const CHECKING_ACCOUNT = 'C';

/**
* S: for Savings accounts
*/
const SAVINGS_ACCOUNT = 'S';

/**
* M: for Maestra accounts(Only Peru)
*/
const MAESTRA_ACCOUNTS = 'M';

public static function getAll()
{
return [
self::CHECKING_ACCOUNT,
self::SAVINGS_ACCOUNT,
self::MAESTRA_ACCOUNTS
];
}
}
Loading

0 comments on commit ff27c56

Please sign in to comment.