SubscriptionStatus.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Subscriptions\ValueObjects; |
| 4 | |
| 5 | use MyCLabs\Enum\Enum; |
| 6 | |
| 7 | /** |
| 8 | * @since 2.19.6 |
| 9 | * |
| 10 | * @method static PENDING() |
| 11 | * @method static ACTIVE() |
| 12 | * @method static EXPIRED() |
| 13 | * @method static COMPLETED() |
| 14 | * @method static REFUNDED() |
| 15 | * @method static ABANDONED() |
| 16 | * @method static FAILING() |
| 17 | * @method static CANCELED() |
| 18 | * @method static SUSPENDED() |
| 19 | */ |
| 20 | class SubscriptionStatus extends Enum { |
| 21 | const PENDING = 'pending'; |
| 22 | const ACTIVE = 'active'; |
| 23 | const EXPIRED = 'expired'; |
| 24 | const COMPLETED = 'completed'; |
| 25 | const REFUNDED = 'refunded'; |
| 26 | const FAILING = 'failing'; |
| 27 | const CANCELLED = 'cancelled'; |
| 28 | const ABANDONED = 'abandoned'; |
| 29 | const SUSPENDED = 'suspended'; |
| 30 | } |
| 31 |