AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/aix/plugins/hikashoppayment/payplug2/lib/Payplug/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/aix/plugins/hikashoppayment/payplug2/lib/Payplug//Parameters.php
<?php

class Parameters {

	public static function createFromString($str) {
		$array = json_decode($str, true);

		return new Parameters(
			$array["currencies"],
			$array["maxAmount"],
			$array["minAmount"],
			$array["paymentBaseUrl"],
			$array["payplugPublicKey"],
			$array["privateKey"]
		);
	}

	public static function loadFromFile($path) {
		return self::createFromString(file_get_contents($path));
	}

	public $currencies;
	public $maxAmount;
	public $minAmount;
	public $paymentBaseUrl;
	public $payplugPublicKey;
	public $privateKey;

	public function __construct($currencies, $maxAmount, $minAmount, $paymentBaseUrl, $payplugPublicKey, $privateKey) {
		$this->currencies = $currencies;
		$this->maxAmount = $maxAmount;
		$this->minAmount = $minAmount;
		$this->paymentBaseUrl = $paymentBaseUrl;
		$this->payplugPublicKey = $payplugPublicKey;
		$this->privateKey = $privateKey;
	}

	public function saveInFile($path) {
		file_put_contents($path, $this->toString());
	}

	public function toString() {
		return json_encode($this);
	}
}

Anon7 - 2022
AnonSec Team