Updated revenue instance method in Vendor class to take optional date arguments