package com.red.circle.console.app.service.app.order;

import com.red.circle.console.app.dto.clienobject.order.InAppPurchaseDetailsCO;
import com.red.circle.order.inner.model.cmd.inapp.InAppPurchaseDetailsQryCmd;
import java.util.List;
import java.util.Map;

/**
 * 内购服务.
 *
 * @author pengliang on 2022/10/31
 */
public interface InAppPurchaseBackService extends IOrderService {

  /**
   * 获取订单详情.
   */
  InAppPurchaseDetailsCO getDetails(String id);

  /**
   * 订单详情列表.
   */
  List<InAppPurchaseDetailsCO> listDetails(InAppPurchaseDetailsQryCmd query);

  /**
   * 订单统计查询 - 返回金额总数和订单总数
   */
  Map<String, Object> statistics(InAppPurchaseDetailsQryCmd query);

}
