HEX
Server: Apache
System: Linux d5123.usc1.stableserver.net 5.14.0-570.17.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Sat May 24 12:53:17 EDT 2025 x86_64
User: d5123 (1001)
PHP: 8.4.21
Disabled: NONE
Upload Files
File: /home/d5123/myboofola_com/wp-content/plugins/give/src/Receipt/LineItem.php
<?php

namespace Give\Receipt;

/**
 * Class LineItem
 *
 * This class represent receipt line item as object.
 *
 * @package Give\Receipt
 * @since 2.7.0
 */
class LineItem
{
    /**
     * ID.
     *
     * @since 2.7.0
     * @var int $donationId
     */
    public $id;

    /**
     * Label.
     *
     * @since 2.7.0
     * @var int $donationId
     */
    public $label;

    /**
     * Value.
     *
     * @since 2.7.0
     * @var int $donationId
     */
    public $value;

    /**
     * Icon.
     *
     * @since 2.7.0
     * @var int $donationId
     */
    public $icon;

    /**
     * LineItem constructor.
     *
     * @param string $id
     * @param string $label
     * @param string $value
     * @param string $icon
     */
    public function __construct($id, $label, $value, $icon = '')
    {
        $this->id = $id;
        $this->label = $label;
        $this->value = $value;
        $this->icon = $icon;
    }
}