using System;

namespace GameData
{
    /// <summary>
    /// 支付之后返回给客户端得数据结构
    /// </summary>
    [Serializable]
    public class HuaweiPayAppBody
    {
        public string HuaweiProductionId { get; set; }
        public string DeveloperPayload { get; set; }
    }

    /// <summary>
    /// 客户端支付成功之后通知给服务器得数据结构
    /// </summary>
    [Serializable]
    public class HuaweiPayAppC2SNotifyBody
    {
        /// <summary>
        /// 购买详情
        /// </summary>
        public string inAppPurchaseData;
        
        /// <summary>
        /// 签名字符串
        /// </summary>
        public string inAppPurchaseDataSignature;

        /// <summary>
        /// 给服务器使用的商品ID
        /// </summary>
        public string productId;

        /// <summary>
        /// 给服务使用的商品token
        /// </summary>
        public string purchaseToken;
    }
}