internal StandardAccount(IAccountStatusAwareOperations statusAwareOperations, IAccountIdentity identity, Currency primaryCurrency) { this.statusAwareOperations = statusAwareOperations; accountInformation = new AccountInformation { Identity = identity, PrimaryCurrency = primaryCurrency }; }
public StandardAccountFactory( Currency primaryCurrency, IAccountStatusAwareOperations statusAwareOperations, IAccountDepositMethod balanceUpdateMethod, ISpecificationFactory <IAccountIdentity, LoyaltyPointAccountIdentitySpecification> identityFactory) { this.primaryCurrency = primaryCurrency; this.statusAwareOperations = statusAwareOperations; this.balanceUpdateMethod = balanceUpdateMethod; this.identityFactory = identityFactory; }