$63 GRAYBYTE WORDPRESS FILE MANAGER $94

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/plugins/give/src/API/REST/V3/Support/Schema/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/src/API/REST/V3/Support/Schema//SchemaTypes.php
<?php

namespace Give\API\REST\V3\Support\Schema;

use Give\API\REST\V3\Support\Schema\SchemaType;

/**
 * @since 4.13.0
 */
class SchemaTypes
{

    /**
     * This is used to define a money schema for fields that use the Give\Framework\Support\ValueObjects class.
     *
     * @since 4.13.0
     */
    public static function money(): SchemaType
    {
        $moneySchemaType = new SchemaType();
        $moneySchemaType->type('object')
        ->properties([
            'value' => [
                'type' => 'number',
                'description' => esc_html__('Value in decimal format', 'give'),
            ],
            'valueInMinorUnits' => [
                'type' => 'integer',
                'description' => esc_html__('Value in minor units (cents)', 'give'),
                'readonly' => true,
            ],
            'currency' => [
                'type' => 'string',
                'format' => 'text-field',
                'description' => esc_html__('Currency code in uppercase three letter format (e.g., USD, EUR)', 'give'),
            ],
        ]);

        return $moneySchemaType;
    }
}

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
SchemaType.php
2.222 KB
5 Nov 2025 7.00 PM
bravetechrwanda / bravetechrwanda
0644
SchemaTypes.php
1.099 KB
5 Nov 2025 7.00 PM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF