Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public void ChangeTypePayment(TypePaymentEnum newTypePayment)
 {
     this.TypePayment = newTypePayment;
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
        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);
        }