-
Notifications
You must be signed in to change notification settings - Fork 1
/
vipps_recurring_payments.services.yml
36 lines (29 loc) · 1.4 KB
/
vipps_recurring_payments.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
services:
vipps_recurring_payments:http_client:
class: Drupal\vipps_recurring_payments\Service\VippsHttpClient
arguments: ['@http_client', '@vipps_recurring_payments:api_config']
vipps_recurring_payments:api_config:
class: Drupal\vipps_recurring_payments\Service\VippsApiConfig
arguments: ['@config.factory']
vipps_recurring_payments:request_storage_factory:
class: Drupal\vipps_recurring_payments\Factory\RequestStorageFactory
arguments: [
'@vipps_recurring_payments:api_config',
'@config.factory',
'@vipps_recurring_payments:delay_manager',
'@vipps_recurring_payments:mobile_detect']
vipps_recurring_payments:delay_manager:
class: Drupal\vipps_recurring_payments\Service\DelayManager
vipps_recurring_payments:mobile_detect:
class: Drupal\vipps_recurring_payments\Service\Mobile_Detect
vipps_recurring_payments:product_subscription_repository:
class: Drupal\vipps_recurring_payments\Repository\ProductSubscriptionRepository
vipps_recurring_payments:vipps_service:
class: Drupal\vipps_recurring_payments\Service\VippsService
arguments: [
'@vipps_recurring_payments:http_client',
'@vipps_recurring_payments:request_storage_factory',
'@logger.factory',
'@vipps_recurring_payments:product_subscription_repository']
vipps_recurring_payments:charge_intervals:
class: Drupal\vipps_recurring_payments\Service\ChargeIntervals