package com.jeesharp.business.modules.finance.api;

import com.jeesharp.business.modules.finance.invoice.dto.MemberInvoiceApplyCreateDTO;
import com.jeesharp.business.modules.finance.invoice.vo.MemberInvoiceApplyResultVO;

import java.util.List;

/**
 * 移动端发票申请跨模块 API；网关仅依赖本接口，勿直接依赖 {@code MemberInvoiceApplyApplicationService}。
 *
 * @author jeesharp
 * @since 2026-06-13
 */
public interface MemberInvoiceApplyApi {

    MemberInvoiceApplyResultVO create(String memberId, MemberInvoiceApplyCreateDTO dto);

    MemberInvoiceApplyResultVO getResult(String id);

    MemberInvoiceApplyResultVO getLatestByOrder(String memberId, String orderId);

    List<MemberInvoiceApplyResultVO> listByMember(String memberId, String status);
}
