Ejemplo n.º 1
0
        ///// <summary>
        ///// TenPayV3UnifiedorderRequestData_SceneInfo 构造函数
        ///// </summary>
        //public TenPayV3UnifiedorderRequestData_SceneInfo()
        //{
        //    store_info = new Store_Info();
        //}

        /// <summary>
        /// TenPayV3UnifiedorderRequestData_SceneInfo 构造函数
        /// </summary>
        /// <param name="isH5Pay">是否为H5支付</param>
        /// <param name="h5Info">当isH5Pay为true时填写,可以使用TenPayV3UnifiedorderRequestData_SceneInfo.GetH5InfoInstance&lt;T&gt;()方法获得</param>
        public TenPayV3UnifiedorderRequestData_SceneInfo(bool isH5Pay, IH5_Info h5Info = null)
        {
            if (!isH5Pay)
            {
                store_info = new Store_Info();
            }
            else
            {
                h5_info = h5Info;
            }
        }
 public TenPayV3UnifiedorderRequestData_SceneInfo()
 {
     store_info = new Store_Info();
 }