Example #1
0
        public static DirectDebitMandate CreateDirectDebitMandate(string dataAreaId,
                                                                  string mandateId,
                                                                  int daysForRecurringPrenotification,
                                                                  int daysForRecurringBankSubmission,
                                                                  int daysForFirstBankSubmission,
                                                                  int daysForFirstPrenotification,
                                                                  int usageCount,
                                                                  global::System.DateTimeOffset cancellationDate,
                                                                  global::System.DateTimeOffset signatureDate,
                                                                  int expectedNumberOfPayments,
                                                                  global::System.DateTimeOffset expirationDate)
        {
            DirectDebitMandate directDebitMandate = new DirectDebitMandate();

            directDebitMandate.dataAreaId = dataAreaId;
            directDebitMandate.MandateId  = mandateId;
            directDebitMandate.DaysForRecurringPrenotification = daysForRecurringPrenotification;
            directDebitMandate.DaysForRecurringBankSubmission  = daysForRecurringBankSubmission;
            directDebitMandate.DaysForFirstBankSubmission      = daysForFirstBankSubmission;
            directDebitMandate.DaysForFirstPrenotification     = daysForFirstPrenotification;
            directDebitMandate.UsageCount               = usageCount;
            directDebitMandate.CancellationDate         = cancellationDate;
            directDebitMandate.SignatureDate            = signatureDate;
            directDebitMandate.ExpectedNumberOfPayments = expectedNumberOfPayments;
            directDebitMandate.ExpirationDate           = expirationDate;
            return(directDebitMandate);
        }
 public DirectDebitPaymentMethod(DirectDebitMandate directDebitMandate, string directDebitransactionPaymentIdentification)
     : base()
 {
     this.directDebitMandate = directDebitMandate;
     this.directDebitTransactionPaymentIdentification = directDebitransactionPaymentIdentification;
 }