package com.fastbee.rechargecard.service;

import com.fastbee.rechargecard.domain.UserRechargeCards;
import com.fastbee.rechargecard.domain.dto.WeChatRecharge;

import java.io.IOException;
import java.util.Map;

/**
 * 用户微信支付Service接口
 */
public interface IUserWechatPayService {
    /**
     * 生成订单
     * @param recharge
     * @return
     */
    public Map<String,String> CreateOrder(WeChatRecharge recharge) throws Exception;
    /**
     * 获取openId
     * @param code
     * @return
     */
    public Map<String,Object> GetOpenId(String code);
    /**
     * 获取平台证书
     */
    public Map<String,Object> getPlatformCertificat(String mchId,String privateKey,String serial_no,String apiV3Key);


}
