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

import com.jeesharp.business.modules.finance.invoice.dto.MemberInvoiceTitleSaveDTO;
import com.jeesharp.business.modules.finance.invoice.vo.MemberInvoiceTitleInfoVO;

import java.util.List;

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

    List<MemberInvoiceTitleInfoVO> listByMember(String memberId);

    String create(String memberId, MemberInvoiceTitleSaveDTO dto);

    void update(String memberId, MemberInvoiceTitleSaveDTO dto);

    void delete(String memberId, String id);

    void setDefault(String memberId, String id);
}
