# payplug/2.8.2/src/Front/PayplugOney/Country/OneyFR.php

PayPlug for WooCommerce (Official), version 2.8.2. 35 lines.

- Page: https://pluginprobe.com/plugins/payplug/2.8.2/code/src/Front/PayplugOney/Country/OneyFR.php
- Raw: https://pluginprobe.com/plugins/payplug/2.8.2/raw/src/Front/PayplugOney/Country/OneyFR.php
- Modified: 2024-08-22T09:24:36+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.8.2/code/src/Front/PayplugOney/Country/OneyFR.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Front\PayplugOney\Country;

class OneyFR extends OneyBase implements InterfaceOneyType
{

	/**
	 * @var string
	 */
	private $icon_withoutfees = 'oney-without-fees-3x4x';

	/**
	 * @var string
	 */
	private $icon_withfees = 'oney-3x4x';

	public function __construct()
	{
		parent::__construct();

	}

	public function setIcon($icon = '')
	{
		switch ($this->getOneyType()){
			case "without_fees": parent::setIcon($this->icon_withoutfees);break;
			default: parent::setIcon($this->icon_withfees);break;
		}

	}


}

```
