← All changes
|
src/Framework/PaymentGateways/Contracts/SubscriptionModuleInterface.php
+7
-0
2.30.0
→
4.16.9
View file →
| @@ -30,8 +30,15 @@ | ||
| 30 | 30 | */ |
| 31 | 31 | public function cancelSubscription(Subscription $subscription); |
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | + * Whether the gateway supports pausing subscriptions. | |
| 35 | + * | |
| 36 | + * @since 3.17.0 | |
| 37 | + */ | |
| 38 | + public function canPauseSubscription(): bool; | |
| 39 | + | |
| 40 | + /** | |
| 34 | 41 | * Returns whether the gateway supports syncing subscriptions. |
| 35 | 42 | * |
| 36 | 43 | * @since 2.20.0 |
| 37 | 44 | */ |