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); }
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; } }
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; } }
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; } }