All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkout.apm.previous.klarna.KlarnaClient Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.apm.previous.klarna;

import com.checkout.payments.CaptureResponse;
import com.checkout.payments.VoidRequest;
import com.checkout.payments.VoidResponse;

import java.util.concurrent.CompletableFuture;

public interface KlarnaClient {

    CompletableFuture createCreditSession(CreditSessionRequest creditSessionRequest);

    CompletableFuture getCreditSession(String sessionId);

    CompletableFuture capturePayment(String paymentId, OrderCaptureRequest captureRequest);

    CompletableFuture voidPayment(String paymentId, VoidRequest voidRequest);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy