PluginProbe
PayPlug for WooCommerce (Official) / 2.6.4
PayPlug for WooCommerce (Official) v2.6.4
3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 All 101 releases
payplug / src / Front / PayplugOney / Requests / OneyWithoutFees.php

OneyWithoutFees.php in PayPlug for WooCommerce (Official) 2.6.4, at src/Front/PayplugOney/Requests/OneyWithoutFees.php

26 lines 696 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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