# payplug/2.6.4/src/Front/PayplugOney/Requests/OneyWithFees.php

PayPlug for WooCommerce (Official), version 2.6.4. 26 lines.

- Page: https://pluginprobe.com/plugins/payplug/2.6.4/code/src/Front/PayplugOney/Requests/OneyWithFees.php
- Raw: https://pluginprobe.com/plugins/payplug/2.6.4/raw/src/Front/PayplugOney/Requests/OneyWithFees.php
- Modified: 2023-10-18T12:49:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/payplug/2.6.4/code/src/Front/PayplugOney/Requests/OneyWithFees.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Front\PayplugOney\Requests;

use Payplug\PayplugWoocommerce\PayplugWoocommerceHelper;

class OneyWithFees extends OneyBase
{

	public function __construct()
	{
		$this->setCountry(PayplugWoocommerceHelper::getOneySettings());

		/** @var $oney \Payplug\PayplugWoocommerce\Front\PayplugOney\Country\OneyFR */
		$class = "\\Payplug\\PayplugWoocommerce\\Front\\PayplugOney\\Country\\Oney" . $this->getCountry();
		$oney = new $class();
		$oney->setOneyType("with_fees");
		$oney->setIcon();
		$oney->setSimulatedClass('Payplug\\PayplugWoocommerce\\Gateway\\PayplugGatewayOney3x');
		$this->setOney($oney);

		parent::__construct();
	}

}

```
