package com.commercetools.pspadapter.payone.domain.payone.model.klarna;

import com.commercetools.pspadapter.payone.config.PayoneConfig;
import com.commercetools.pspadapter.payone.domain.ctp.PaymentWithCartLike;
import com.commercetools.pspadapter.payone.domain.payone.model.common.ClearingType;
import com.commercetools.pspadapter.payone.domain.payone.model.common.ExtendedAuthorizationRequest;
import com.commercetools.pspadapter.payone.domain.payone.model.common.RequestType;

public class KlarnaPreauthorizationRequest extends ExtendedAuthorizationRequest {

    public KlarnaPreauthorizationRequest(final PayoneConfig config, final String financingtype,
                                         final PaymentWithCartLike paymentWithCartLike) {
        super(config, RequestType.PREAUTHORIZATION.getType(), financingtype, ClearingType.PAYONE_KLV.getPayoneCode(),paymentWithCartLike);
    }
}

package com.commercetools.pspadapter.payone.domain.payone.model.klarna;

import com.commercetools.pspadapter.payone.config.PayoneConfig;
import com.commercetools.pspadapter.payone.domain.ctp.PaymentWithCartLike;
import com.commercetools.pspadapter.payone.domain.payone.model.common.ClearingType;
import com.commercetools.pspadapter.payone.domain.payone.model.common.ExtendedAuthorizationRequest;
import com.commercetools.pspadapter.payone.domain.payone.model.common.RequestType;

public class KlarnaPreauthorizationRequest extends ExtendedAuthorizationRequest {

    public KlarnaPreauthorizationRequest(final PayoneConfig config, final String financingtype,
                                         final PaymentWithCartLike paymentWithCartLike) {
        super(config, RequestType.PREAUTHORIZATION.getType(), financingtype, ClearingType.PAYONE_KLV.getPayoneCode(), paymentWithCartLike);
    }
}

Update service/src/main/java/com/commercetools/pspadapter/payone/domain/payone/model/klarna/KlarnaPreauthorizationRequest.java