package com.red.circle.order.inner.service;

import com.red.circle.order.inner.model.cmd.inapp.InAppPurchaseDetailsQryCmd;
import com.red.circle.order.inner.model.dto.inapp.CountUserInAppPurchaseDTO;
import com.red.circle.order.inner.model.dto.inapp.InAppPurchaseDetailsDTO;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 内购详情.
 *
 * @author pengliang on 2023/11/3
 */
public interface InAppPurchaseDetailsClientService {

  /**
   * 获取订单信息.
   */
  InAppPurchaseDetailsDTO getById(String id);

  /**
   * 订单信息查询.
   */
  List<InAppPurchaseDetailsDTO> list(InAppPurchaseDetailsQryCmd qryCmd);

  List<CountUserInAppPurchaseDTO> countUserInAppPurchase(String sysOrigin, LocalDateTime startTime, LocalDateTime endTime, Integer limit);

}
