示例#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);
        }
示例#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);
        }
示例#3
0
 public void ChangeTypePayment(TypePaymentEnum newTypePayment)
 {
     this.TypePayment = newTypePayment;
 }
示例#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;
 }
示例#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);
        }