Skip to content

ICheckoutService

// RB2 Core Connect
using CoreConnect.Commerce.Orders;
namespace CoreConnect.Commerce.Checkout;
public interface ICheckoutService
{
Task<Order> CreateOrder(CreateOrderRequest request, CancellationToken cancellationToken);
Task<Order> CancelOrder(CancelOrderRequest request, CancellationToken cancellationToken);
Task<Order> AddPaymentToOrder(string orderId, OrderPayment data, CancellationToken cancellationToken);
Task<Order> RetryPaymentTransaction(RetryPaymentRequest request, CancellationToken cancellationToken);
}