403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/winee/wp-content/plugins/gravityformssquare/includes/api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/winee/wp-content/plugins/gravityformssquare/includes/api/class-money.php
<?php

namespace Gravity_Forms\Gravity_Forms_Square\API;

defined( 'ABSPATH' ) || die();

use Gravity_Forms\Gravity_Forms_Square\API\Abstracts\Hydration;

/**
 * Gravity Forms Square Money.
 *
 * @see https://developer.squareup.com/reference/square/objects/Money
 *
 * @since     1.3
 * @package   Gravity_Forms
 * @author    Rocketgenius
 * @copyright Copyright (c) 2021, Rocketgenius
 */
class Money extends Hydration {

	/**
	 * The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents. Monetary amounts can be positive or negative. See the specific field description to determine the meaning of the sign in a particular case.
	 *
	 * @since 1.3
	 *
	 * @var int
	 */
	public $amount;

	/**
	 * The type of currency, in ISO 4217 format. For example, the currency code for US dollars is USD.
	 *
	 * @link https://developer.squareup.com/reference/square/enums/Currency
	 *
	 * @since 1.3
	 *
	 * @var string
	 */
	public $currency;

	/**
	 * Set amount.
	 *
	 * @since 1.3
	 *
	 * @param int $amount
	 */
	public function set_amount( $amount ) {
		// Convert decimal to whole number.
		if ( is_float( $amount ) ) {
			$amount = (int) $amount * 100;
		}
		$this->amount = $amount;
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit