package com.fdkankan.ucenter.service; import com.fdkankan.ucenter.entity.IncrementAutoOrder; import com.baomidou.mybatisplus.extension.service.IService; import com.fdkankan.ucenter.httpClient.vo.PayOrderVo; import com.fdkankan.ucenter.pay.paypal.sdk.AutoPaypalVo; /** *

* 服务类 *

* * @author * @since 2023-11-09 */ public interface IIncrementAutoOrderService extends IService { void addOrder(Long userId, Integer incrementTypeId, Long incrementId, String orderSn); void subOrder(PayOrderVo order); IncrementAutoOrder getBySubId(String subscriptionId); void paySuccess(IncrementAutoOrder incrementAutoOrder, AutoPaypalVo order) throws Exception; void payError(IncrementAutoOrder incrementAutoOrder, AutoPaypalVo order); void subscriptionCancelled(IncrementAutoOrder incrementAutoOrder, AutoPaypalVo order); }