| 1 |
<?php |
| 2 |
|
| 3 |
namespace Payplug\PayplugWoocommerce\Front\PayplugOney\Requests; |
| 4 |
|
| 5 |
use Payplug\PayplugWoocommerce\PayplugWoocommerceHelper; |
| 6 |
|
| 7 |
class OneyWithoutFees extends OneyBase |
| 8 |
{ |
| 9 |
|
| 10 |
public function __construct() |
| 11 |
{ |
| 12 |
$this->setCountry(PayplugWoocommerceHelper::getOneySettings()); |
| 13 |
|
| 14 |
/** @var $oney \Payplug\PayplugWoocommerce\Front\PayplugOney\Country\OneyFR */ |
| 15 |
$class = "\\Payplug\\PayplugWoocommerce\\Front\\PayplugOney\\Country\\Oney" . $this->getCountry(); |
| 16 |
$oney = new $class(); |
| 17 |
$oney->setOneyType("without_fees"); |
| 18 |
$oney->setIcon(); |
| 19 |
$oney->setSimulatedClass('Payplug\\PayplugWoocommerce\\Gateway\\PayplugGatewayOney3xWithoutFees'); |
| 20 |
$this->setOney($oney); |
| 21 |
|
| 22 |
parent::__construct(); |
| 23 |
} |
| 24 |
|
| 25 |
} |
| 26 |
|