package org.wfc.payment.pay.paypal.service;

import com.paypal.sdk.exceptions.ApiException;
import com.paypal.sdk.models.Order;

import java.io.IOException;

/**
 * @author: cyc
 * @since: 2025-04-23
 */
public interface IPayPalService {

    Order createOrder(Long orderId) throws IOException, ApiException;

    Order captureOrders(String paypalOrderId, Long orderId) throws IOException, ApiException;
}
