public void Update(int idFamily, DateTime dateMovement, TypeMovementEnum typeMovement, TypePaymentEnum typePayment, string description, string providerName, int idMemberMovement, string urlPaymentVoucher, Double valueMovement, SituationMovementEnum situationMovement, string userUpdate) { this.IdFamily = idFamily; this.IdMemberMovement = idMemberMovement; Movement.Update(dateMovement, description, providerName, typeMovement, typePayment, valueMovement, urlPaymentVoucher); base.Update(userUpdate); }
public SavingsAccount(int idFamily, DateTime dateMovement, TypeMovementEnum typeMovement, TypePaymentEnum typePayment, string description, string providerName, int idMemberMovement, string urlPaymentVoucher, Double valueMovement, SituationMovementEnum situationMovement, string userCreate) : base(userCreate) { this.IdFamily = idFamily; this.IdMemberMovement = idMemberMovement; Movement = new Movement(dateMovement, description, providerName, typeMovement, typePayment, valueMovement, urlPaymentVoucher); }
public void ChangeTypePayment(TypePaymentEnum newTypePayment) { this.TypePayment = newTypePayment; }
public Movement(DateTime dateMovement, string description, string providerName, TypeMovementEnum typeMovement, TypePaymentEnum typePaymentEnum, Double valueMovement, string urlPaymentVoucher) { this.DateMovement = dateMovement; this.Description = description; this.ProviderName = providerName; this.TypeMovement = typeMovement; this.TypePayment = TypePayment; this.ValueMovement = valueMovement; this.UrlPaymentVoucher = urlPaymentVoucher; this.SituationMovement = SituationMovementEnum.None; }
public void Update(DateTime dateMovement, string description, string providerName, TypeMovementEnum typeMovement, TypePaymentEnum typePaymentEnum, Double valueMovement, string urlPaymentVoucher) { this.DateMovement = dateMovement; this.Description = description; this.ProviderName = providerName; this.ValueMovement = valueMovement; this.UrlPaymentVoucher = urlPaymentVoucher; ChangeTypeMovement(typeMovement); ChangeTypePayment(typePaymentEnum); }