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

namespace Fuel.Payment.Core.Models.UnionPay
{
    public class UnionPayConfig
    {
        public static string DEFAULT_CHARSET = "GBK";
        public string scanUrl { get; set; }
        public string clientId { get; set; }
        public string merchantCode { get; set; }
        public string cloudIp { get; set; }
        public string charset { get; set; }
        public string miniUrl { get; set; }
        public string appId { get; set; }
        public string mid { get; set; }
        public string terminalCode { get; set; }
    }

    public class UnionPayConfigInfo
    {
        public UnionPayConfig Config { get; set; }
        public string HashValue { get; set; }
    }

    public class UnionPayCertificaitonInfo
    {
        public string unionpay_public_key_HashValue { get; set; }
        public string merchant_private_key_HashValue { get; set; }
        public string merchant_public_key_HashValue { get; set; }
    }

    public class UnionPayConfigAndCertification
    {
        public UnionPayConfigInfo ConfigInfo { get; set; }
        public UnionPayCertificaitonInfo CertificaitonInfo { get; set; }
    }
}
