← All changes
|
core/payment/contracts/payment-method-interface.php
+9
-0
1.0.18
→
1.0.27
View file →
| @@ -57,5 +57,14 @@ | ||
| 57 | 57 | * |
| 58 | 58 | * @param Order_Model $order The order to process refund for |
| 59 | 59 | */ |
| 60 | 60 | public function process_refund( $order ); |
| 61 | + | |
| 62 | + /** | |
| 63 | + * Decide the reservation action for a stale unpaid order: repair, release or wait. | |
| 64 | + * | |
| 65 | + * @param Order_Model $order The order whose held slot is being evaluated. | |
| 66 | + * | |
| 67 | + * @return string One of the Abstract_Payment_Method::RESERVATION_* constants. | |
| 68 | + */ | |
| 69 | + public function resolve_reservation_action( $order ): string; | |
| 61 | 70 | } |