// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"context"
	"bsm/full/module/ec/order/internal/logic/summary"
	pb "bsm/full/module/ec/order/pb"
)

type SummaryServer struct {
	pb.UnimplementedSummaryServer
}

func NewSummaryServer() *SummaryServer {
	return &SummaryServer{}
}

// 快速创建一个店铺订单
func (s *SummaryServer) QuickCreateByProduct(ctx context.Context, in *pb.QuickCreateByProductRequest) (*pb.StatusReply, error) {
	return summary.QuickCreateByProduct(ctx, in)
}

// 将购物车的数据提交生成订单
func (s *SummaryServer) Submit(ctx context.Context, in *pb.SubmitRequest) (*pb.StatusReply, error) {
	return summary.Submit(ctx, in)
}

// 检测是否有未确认及付款的订单
func (s *SummaryServer) Check(ctx context.Context, in *pb.Empty) (*pb.StatusReply, error) {
	return summary.Check(ctx, in)
}

// 获取一个订单的详情数据
func (s *SummaryServer) Get(ctx context.Context, in *pb.IdentRequest) (*pb.SummaryGetReply, error) {
	return summary.Get(ctx, in)
}

// 根据不同的类型获取我的订单列表
func (s *SummaryServer) List(ctx context.Context, in *pb.SummaryListRequest) (*pb.SummaryListReply, error) {
	return summary.List(ctx, in)
}

// 确认订单，物流，优惠卷等其它信息
func (s *SummaryServer) Confirm(ctx context.Context, in *pb.ConfirmRequest) (*pb.ConfirmReply, error) {
	return summary.Confirm(ctx, in)
}

// 取消订单
func (s *SummaryServer) Cancel(ctx context.Context, in *pb.CancelRequest) (*pb.StatusReply, error) {
	return summary.Cancel(ctx, in)
}

// 模拟支付
func (s *SummaryServer) SimulatePay(ctx context.Context, in *pb.SimulatePayRequest) (*pb.StatusReply, error) {
	return summary.SimulatePay(ctx, in)
}

// 模拟发货
func (s *SummaryServer) SimulateShipments(ctx context.Context, in *pb.SimulateShipmentsRequest) (*pb.StatusReply, error) {
	return summary.SimulateShipments(ctx, in)
}

// 模拟收货
func (s *SummaryServer) SimulateReceiving(ctx context.Context, in *pb.IdentRequest) (*pb.StatusReply, error) {
	return summary.SimulateReceiving(ctx, in)
}
