public CreditCardPurchaseService(IAccountDomainRepository accountDomainRepository, ICardDomainRepository cardDomainRepository)
        {
            _accountDomainRepository = accountDomainRepository;
            _cardDomainRepository    = cardDomainRepository;

            _panHashService = new PanHashService();
        }
Esempio n. 2
0
        public AddCreditCardToAccountService(IAccountDomainRepository accountDomainRepository, ICardDomainRepository cardDomainRepository)
        {
            _accountDomainRepository = accountDomainRepository;
            _cardDomainRepository    = cardDomainRepository;

            _cardPanGeneratorService = new CardPanGeneratorService();
            _panEncryptService       = new PanEncryptService();
            _panHashService          = new PanHashService();
        }
Esempio n. 3
0
        public GetCardController(ICardDomainRepository cardDomainRepository)
        {
            _cardDomainRepository = cardDomainRepository;

            _panHashService = new PanHashService();
        }