public void AddPaymentRule(ISupplier supplier, ICustomer customer, BookingType bookingType, decimal percentage, int daysOffset, BaseDate baseDate, PaymentType paymentType) { Supplier supp = (Supplier)supplier; Customer cust = (Customer)customer; supp.AddPaymentRule(cust, bookingType, percentage, daysOffset, baseDate, paymentType); }