Method getPayment implemented for hourly and monthly employees. Use this call members[index].getPayment()