PluginProbe
MONEI Payments for WooCommerce / 7.2.0
MONEI Payments for WooCommerce v7.2.0
7.3.2 7.3.1 7.3.0 7.2.4 7.2.3 7.2.2 7.2.0 7.2.1 7.1.3 2.1.0 3.0.0 3.1.0 3.1.1 4.0.0 4.1.0 4.1.1 4.2.0 4.2.1 5.0 5.1.0 5.1.1 5.1.2 5.2.2 5.2.3 5.2.4 All 86 releases
monei / src / Features / Subscriptions / SubscriptionHandlerInterface.php

SubscriptionHandlerInterface.php in MONEI Payments for WooCommerce 7.2.0, at src/Features/Subscriptions/SubscriptionHandlerInterface.php

20 lines 974 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Monei\Features\Subscriptions;
4
5 use WC_Order;
6
7 interface SubscriptionHandlerInterface {
8
9 public function is_subscriptions_addon_enabled(): bool;
10 public function is_subscription_order( int $order_id ): bool;
11 public function is_subscription_change_payment_page(): bool;
12 public function create_subscription_payload( WC_Order $order, $payment_method, array $payload ): array;
13 public function scheduled_subscription_payment( $amount_to_charge, WC_Order $renewal_order ): void;
14 public function init_subscriptions( array $suports, string $gateway_id ): array;
15 public function add_extra_info_to_subscriptions_payment_method_title( string $payment_method_to_display, $subscription ): string;
16 public function subscription_after_payment_success( $confirm_payload, $confirm_payment, WC_Order $order ): void;
17 public function get_subscriptions_for_order( int $order_id ): array;
18 public function update_subscription_meta_data( $subscriptions, $payment ): void;
19 }
20