Ejemplo n.º 1
0
        public static li_claims TransferedChild(this li_claims parent, DateTime createTime,
                                                Agp2pEnums.ClaimStatusEnum newStatus, decimal childPrincipal, li_project_transactions byPtr)
        {
            var child = parent.NewPrincipalAndStatusChild(createTime, newStatus, childPrincipal);

            child.number                         = Utils.HiResNowString;
            child.profitingProjectId             = byPtr.project;
            child.userId                         = byPtr.investor;
            child.li_project_transactions_invest = byPtr;
            return(child);
        }
Ejemplo n.º 2
0
        public static li_claims NewPrincipalAndStatusChild(this li_claims parent, DateTime createTime, Agp2pEnums.ClaimStatusEnum newStatus, decimal childPrincipal)
        {
            var child = parent.NewPrincipalChild(createTime, childPrincipal);

            child.status = (byte)newStatus;
            return(child);
        }
Ejemplo n.º 3
0
        public static li_claims NewStatusChild(this li_claims parent, DateTime createTime, Agp2pEnums.ClaimStatusEnum newStatus)
        {
            var child = parent.MakeChild(createTime);

            child.status = (byte)newStatus;
            return(child);
        }