<?php

namespace MtcPharmacy\Subscriptions\Classes;

/**
 * Base class for payment gateway implementations.
 *
 * Note: Despite the name, this is an abstract class rather than a PHP interface.
 * Renaming is not feasible as it would break all extending classes.
 */
abstract class PaymentGatewayInterface
{
    protected $order;

    public function __construct($order)
    {
        $this->order = $order;
    }

    // Abstract method to handle payment processing
    abstract public function processPayment();

    abstract public function getPreviousPaymentInfo();
}
