← All changes
|
src/Services/Payment/interface-payment-method-service.php
+0
-24
3.1.1
→
4.1.0
View file →
| @@ -30,35 +30,11 @@ | ||
| 30 | 30 | */ |
| 31 | 31 | public function get_payment_methods( ?WC_Order $order = null ); |
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | - * Get a list of all payment methods defined for store and merchant | |
| 35 | - * | |
| 36 | - * @param bool $cache Use cache if available. | |
| 37 | - * @return array<string, string>[] See PaymentMethodsResponse::toArray() output | |
| 38 | - */ | |
| 39 | - public function get_all_payment_methods( ?string $store_id, ?string $merchant, $cache = false ): array; | |
| 40 | - | |
| 41 | - /** | |
| 42 | 34 | * Check if the payment method data matches a valid payment method. |
| 43 | 35 | */ |
| 44 | 36 | public function is_payment_method_data_valid( ?Payment_Method_Data $data ): bool; |
| 45 | - | |
| 46 | - /** | |
| 47 | - * Look for available payment methods which can be used with the widget | |
| 48 | - * | |
| 49 | - * @return array<string, string>[] | |
| 50 | - */ | |
| 51 | - public function get_all_widget_compatible_payment_methods( string $store_id, ?string $merchant ): array; | |
| 52 | - | |
| 53 | - /** | |
| 54 | - * Look for available payment methods that can be used with part payments | |
| 55 | - * | |
| 56 | - * @throws Throwable | |
| 57 | - * | |
| 58 | - * @return array<string, string>[] | |
| 59 | - */ | |
| 60 | - public function get_all_mini_widget_compatible_payment_methods( string $store_id, ?string $merchant ): array; | |
| 61 | 37 | |
| 62 | 38 | /** |
| 63 | 39 | * Check if the current page is the order pay page |
| 64 | 40 | */ |