using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudGaming.Code.Contract;

/// <summary>
/// 支付接口
/// </summary>
public interface IPayment
{
    /// <summary>
    /// 创建订单
    /// </summary>
    /// <param name="productId">产品id</param>
    /// <param name="productName">产品名称</param>
    /// <param name="price">价格</param>
    /// <param name="args">其它参数</param>
    /// <returns></returns>
    Task<(string orderId, string order,string payNotifyUrl)> CreateOrder(int productId, string productName, decimal price, params object[] args);
}