public DirectDebitMandate(int internalReferenceNumber, DateTime directDebitMandateCreationDate, BankAccount bankAccount, string accountHolderName) { this.billingDataManager = BillingDataManager.Instance; this.status = DirectDebitmandateStatus.Active; this.directDebitMandateCreationDate = directDebitMandateCreationDate; this.bankAccount = bankAccount; this.accountHolderName = accountHolderName; this.bankAccountActivationDate = directDebitMandateCreationDate; bankAccountHistory = new Dictionary<DateTime, BankAccountHistoricalData>(); SetInternalReferenceNumber(internalReferenceNumber); }
public void ActivateMandate() { this.status = DirectDebitmandateStatus.Active; }
public void DeactivateMandate() { this.status = DirectDebitmandateStatus.Inactive; }