コード例 #1
0
        private string getRequestedStateIDDescription(string partnerName, short?requestedStateId)
        {
            if (m_cardnetDAL.getConstantPartner() == null)
            {
                m_cardnetDAL.retrieveConstantPartners();
            }

            var pomPartnerCode = m_cardnetDAL.getPartners().Where(p => p.OrganizationName == partnerName).First().Code;
            var requestedStateIdConstantValue = m_cardnetDAL.getConstantPartner().Where(c => c.PartnerName == partnerName && c.ConstantName == "CardStatusUpdateRequestedStateId" && c.ConstantValue == pomPartnerCode + "_CSU" + requestedStateId).First().ConstantDescription;

            // z CONSTANT_PARTNER ziskaj na zaklade partnername a requestedStateid danu hodnotu
            return(requestedStateIdConstantValue);
        }
コード例 #2
0
ファイル: PosAcceptanceEngine.cs プロジェクト: jumppard/CNWP1
        private List <PosAcceptanceAnswer> m_ans001;  //= new List<PosAcceptanceAnswer>();*/


        public PosAcceptanceEngine()
        {
            try
            {
                // RETRIEVE POS ACCEPTANCE DATA (REQ/ANS)
                m_cardnetDAL = new CardnetDAL();
                m_cardnetDAL.retrievePartners();
                m_cardnetDAL.retrieveConstantPartners();

                retrieveRequests();
                retrieveAnswers();
            }
            catch (Exception EX)
            {
                throw;
            }
        }
コード例 #3
0
        private List <CreditOrderAnswer> m_ans003;  //= new List<CreditOrderAnswer>();*/

        public CreditOrderEngine()
        {
            try
            {
                // RETRIEVE CREDIT ORDER DATA (REQ/ANS)
                m_cardnetDAL = new CardnetDAL();
                m_cardnetDAL.retrievePartners();
                m_cardnetDAL.retrieveConstantUniversal();
                m_cardnetDAL.retrieveConstantPartners();

                retrieveRequests();
                retrieveAnswers();
            }
            catch (Exception)
            {
                throw;
            }
        }
コード例 #4
0
        public CardStatusUpdateEngine()
        {
            try
            {
                // RETRIEVE CREDIT ORDER DATA (REQ/ANS)
                m_cardnetDAL = new CardnetDAL();
                m_cardnetDAL.retrievePartners();
                m_cardnetDAL.retrieveConstantPartners();

                m_rewardoDAL = new RewardoDAL();

                retrieveRequests();
                retrieveAnswers();
            }
            catch (Exception ex)
            {
                throw;
            }
        }