public Surname(string surname, Frecuency frecuency, Language language) { if (surname.IsEmpty()) { throw new ArgumentNullException(nameof(surname)); } this.surname = surname; Frecuency = frecuency; Language = language; }
public void Update(string id, string transactionCode, Frecuency frecuency, decimal amount, int quantity, DateTime begingDate, DateTime endDate, string description) { this.Id = id; this.TransactionCode = transactionCode; this.Frecuency = frecuency; this.Amount = amount; this.Quantity = quantity; this.BegingDate = begingDate; this.EndDate = endDate; this.Description = description; }
public Name(string name, bool moreThanOneWord, Frecuency frecuency, Gender gender) { if (name.IsEmpty()) { throw new ArgumentNullException(nameof(name)); } this.name = name; MoreThanOneWord = moreThanOneWord; Frecuency = frecuency; Gender = gender; }
public static FixedCharge New(string transactionCode, Frecuency frecuency, decimal amount, int quantity, DateTime begingDate, DateTime endDate, string description) { var obj = new FixedCharge { TransactionCode = transactionCode, Frecuency = frecuency, Amount = amount, Quantity = quantity, BegingDate = begingDate, EndDate = endDate, Description = description, }; return(obj); }
private Name CreateName(Nombres name, Frecuency frecuency) => new Name(name.Nombre, name.EsCompuesto, frecuency, Gender.Create(name.Sexo));
private Surname CreateSurname(Apellidos x, Frecuency frecuency) => new Surname(x.Apellido, frecuency, new Language(x.IdIdioma, x.Idioma.Nombre));