# booktics/1.0.29/core/payment/payment-status.php

Booktics – Appointment Booking Calendar for Service Businesses, version 1.0.29. 32 lines.

- Page: https://pluginprobe.com/plugins/booktics/1.0.29/code/core/payment/payment-status.php
- Raw: https://pluginprobe.com/plugins/booktics/1.0.29/raw/core/payment/payment-status.php
- Modified: 2025-07-29T17:39:40+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.29/code/core/payment/payment-status.php#L10-L20`.

```php
<?php

namespace Booktics\Payment;

/**
 * Class representing various payment statuses.
 *
 * This class defines constants for different stages of payment processing,
 * providing a structured way to handle payment state within the application.
 */
final class Payment_Status {

	public const PENDING      	= 'pending';
	public const PROCESSING 	= 'processing';
	public const COMPLETED  	= 'fully_paid';
	public const FAILED     	= 'not_paid';
	public const CANCELLED  	= 'cancelled';
	public const REFUNDED   	= 'refunded';
	public const PARTIALLY_PAID = 'partially_paid';

	/**
	 * Get all payment statuses.
	 *
	 * @return array
	 */
	public static function get_statuses(): array {
		$reflection = new \ReflectionClass( self::class );

		return $reflection->getConstants();
	}
}

```
