tech.carpentum.sdk.payment.internal.api.EnhancedMerchantInfoApi.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payment-client-v2 Show documentation
Show all versions of payment-client-v2 Show documentation
Carpentum Payment system Java SDK
package tech.carpentum.sdk.payment.internal.api
import tech.carpentum.sdk.payment.internal.generated.api.MerchantInfoApi
import tech.carpentum.sdk.payment.internal.generated.infrastructure.RequestConfig
import java.time.Duration
internal class EnhancedMerchantInfoApi(
basePath: String = defaultBasePath,
private val accessToken: String,
callTimeout: Duration
) : MerchantInfoApi(basePath, ApiUtils.getClient(callTimeout)) {
override fun updateAuthParams(requestConfig: RequestConfig) {
requestConfig.addAuthorizationHeader(accessToken)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy