# booktics/1.0.1/core/payment/payment-methods/abstract-payment-method.php

Booktics – Appointment Booking Calendar for Service Businesses, version 1.0.1. 41 lines.

- Page: https://pluginprobe.com/plugins/booktics/1.0.1/code/core/payment/payment-methods/abstract-payment-method.php
- Raw: https://pluginprobe.com/plugins/booktics/1.0.1/raw/core/payment/payment-methods/abstract-payment-method.php
- Modified: 2025-07-09T06:46:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/booktics/1.0.1/code/core/payment/payment-methods/abstract-payment-method.php#L10-L20`.

```php
<?php

namespace Booktics\Payment\Payment_Methods;

use Booktics\Payment\Contracts\Payment_Method_Interface;
use Booktics\Models\Order_Model;

abstract class Abstract_Payment_Method implements Payment_Method_Interface {

	protected $id;
	protected $name;
	private $order;

	/**
	 * Get the unique identifier for this payment method
	 *
	 * @return string
	 */
	public function get_id(): string {
		return $this->id;
	}

	/**
	 * Get the display name of the payment method
	 *
	 * @return string
	 */
	public function get_name(): string {
		return $this->name;
	}

    /**
     * Get Order
     *
     * @return Order_Model
     */
    protected function get_order() {
        return $this->order;
    }
}

```
