Ejemplo n.º 1
0
        public static bool ChargeTest(System.String account, System.Int32 sourceType, System.String billingId, System.Int32 gamePoint, System.Int32 cash, System.Int32 bonus, System.DateTime curTime, ref System.Int32 result, DbTransaction trans = null, string zoneId = "")
        {
            PayUserProvider provider = new PayUserProvider(zoneId);

            return(provider.ChargeTest(account, sourceType, billingId, gamePoint, cash, bonus, curTime, ref result, trans));
        }
Ejemplo n.º 2
0
        public static bool ConsumePointForGamble(System.String account, System.Guid managerId, System.Int32 sourceType, System.String sourceId, System.Int32 consumePoint, System.DateTime consumeTime, ref System.Int32 returnCode, DbTransaction trans = null, string zoneId = "")
        {
            PayUserProvider provider = new PayUserProvider(zoneId);

            return(provider.ConsumePointForGamble(account, managerId, sourceType, sourceId, consumePoint, consumeTime, ref returnCode, trans));
        }
Ejemplo n.º 3
0
        public static bool Stat(System.String account, ref System.Int32 cash, ref System.Int32 point, ref System.Int32 bonus, ref System.Int32 cPoint, ref System.Int32 cBonus, DbTransaction trans = null, string zoneId = "")
        {
            PayUserProvider provider = new PayUserProvider(zoneId);

            return(provider.Stat(account, ref cash, ref point, ref bonus, ref cPoint, ref cBonus, trans));
        }
Ejemplo n.º 4
0
        public static PayUserEntity GetPointByManagerId(System.Guid managerId, string zoneId = "")
        {
            var provider = new PayUserProvider(zoneId);

            return(provider.GetPointByManagerId(managerId));
        }
Ejemplo n.º 5
0
        public static List <PayUserEntity> GetAll(string zoneId = "")
        {
            var provider = new PayUserProvider(zoneId);

            return(provider.GetAll());
        }
Ejemplo n.º 6
0
        public static bool Update(PayUserEntity payUserEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new PayUserProvider(zoneId);

            return(provider.Update(payUserEntity, trans));
        }
Ejemplo n.º 7
0
        public static PayUserEntity GetById(System.String account, string zoneId = "")
        {
            var provider = new PayUserProvider(zoneId);

            return(provider.GetById(account));
        }
Ejemplo n.º 8
0
        public static bool ChargeForPoint(System.String account, System.Int32 sourceType, System.String billingId, System.Int32 point, System.Int32 bonus, ref System.Int32 result, DbTransaction trans = null, string zoneId = "")
        {
            PayUserProvider provider = new PayUserProvider(zoneId);

            return(provider.ChargeForPoint(account, sourceType, billingId, point, bonus, ref result, trans));
        }
Ejemplo n.º 9
0
        public static bool GetGmChargePointByTime(System.String account, System.DateTime startTime, System.DateTime endTime, ref System.Int32 totalPoint, DbTransaction trans = null, string zoneId = "")
        {
            PayUserProvider provider = new PayUserProvider(zoneId);

            return(provider.GetGmChargePointByTime(account, startTime, endTime, ref totalPoint, trans));
        }
Ejemplo n.º 10
0
        public static bool ChargeTx(System.String account, System.Int32 sourceType, System.String billingId, System.Int32 gamePoint, System.Int32 chargePoint, System.Decimal cash, System.Int32 bonus, int mallCode, ref System.Int32 result, DbTransaction trans = null, string zoneId = "")
        {
            PayUserProvider provider = new PayUserProvider(zoneId);

            return(provider.ChargeTx(account, sourceType, billingId, gamePoint, chargePoint, cash, bonus, mallCode, ref result, trans));
        }