package com.buy507.mall.portal.service;

import com.buy507.mall.common.api.CommonResult;
import com.buy507.mall.model.OmsOrder;
import com.buy507.mall.portal.domain.OrderParam;
import com.buy507.mall.portal.vo.OmsOrderDTO;

import java.math.BigDecimal;

public interface VipCenterService {

    /**
     * 查询升级权限金额
     * @param memberLevelId
     * @return
     */
    BigDecimal getUpgradeAmount(Long memberLevelId);

    /**
     * 创建购买权益订单
     * @param param
     * @return
     */
    CommonResult createUpgradeOrder(OmsOrderDTO param);
}
