Class ConnectSdkMerchantClientAutoConfiguration
java.lang.Object
com.github.robtimus.connect.sdk.java.springboot.autoconfigure.ConnectSdkMerchantClientAutoConfiguration
@Configuration
@AutoConfigureAfter(ConnectSdkVersionClientAutoConfiguration.class)
@ConditionalOnMissingBean(com.worldline.connect.sdk.java.v1.merchant.MerchantClient.class)
@ConditionalOnBean(com.worldline.connect.sdk.java.v1.V1Client.class)
@ConditionalOnProperty(name="connect.api.merchant-id")
@EnableConfigurationProperties(ConnectSdkProperties.class)
public class ConnectSdkMerchantClientAutoConfiguration
extends Object
- Author:
- Rob Spoor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconnectSdkV1MerchantClient
(V1Client v1Client, String merchantId)
-
Constructor Details
-
ConnectSdkMerchantClientAutoConfiguration
public ConnectSdkMerchantClientAutoConfiguration()
-
-
Method Details
-
connectSdkV1MerchantClient
@Bean public MerchantClient connectSdkV1MerchantClient(V1Client v1Client, @Value("${connect.api.merchant-id}") String merchantId)
-