internal CardAccount(string accountNo, Currency currency, User owner) : base(currency, owner, "CardAccount") { Argument.EnsureIsValid<AccountNumberValidator, string>(accountNo, "accountNo"); AccountNo = accountNo; Cards = new Collection<UserCard>(); }
internal CardPayment( Card card, PaymentTemplate template, PaymentOrder order, JObject submittedForm, Account from, Account to, Currency currency) : base(template, submittedForm, order, currency, from, to) { Argument.NotNull(card, "card"); Card = card; }
internal CardTransaction( string code, string description, string location, Account account, Card card, Currency transactionCurrency, decimal transactionAmount, decimal accountAmount) : base(account, transactionCurrency, transactionAmount, accountAmount, code, description, location) { Argument.NotNull(card, "card"); Card = card; }
internal Payment( PaymentTemplate template, JObject submittedForm, PaymentOrder order, Currency currency, Account from, Account to) : base(template, from, to, currency, order.Amount) { Argument.NotNull(submittedForm, "submittedForm"); Argument.NotNull(template, "template"); Argument.NotNull(order, "order"); Order = order; Form = submittedForm.ToString(); }
protected UserAccount(Currency currency, User owner, string type) : base(currency, type ?? "CustomerAccount") { Argument.NotNull(owner, "user"); Owner = owner; }
internal CorrespondentAccount(Currency currency, Bank bank) : base(currency, "CorrespondentAccount") { Argument.NotNull(bank, "bank"); Bank = bank; }