class Customer ====================================================================================== Customer() method pseudocode Initialize arraylists which store user's borrowed books and movies. end of Customer ====================================================================================== Customer(Name, Address, String, String) method pseudocode Initilize customer's personal information Initialize arraylists which store user's borrowed books and movies. end of Customer ====================================================================================== getBorrowed method pseudocode If user ask for borrowed book list return arraylist book. If user ask for borrowed movie list return arraylist movie. If user ask for other borrowed material list return null end if end of getBorrowed ====================================================================================== checkIn method pseudocode switch ( check in material ) case ( check in book) if ( this customer have this book in his/her borrowed book list ) remove this book from his/her borrowed book list. set this book is available. else Show an error message telling that customer does not have this book to check in end if case ( check in movie) if ( this customer have this movie in his/her borrowed movie list ) remove this movie from his/her borrowed movie list. set this movie is available. else Show an error message telling that customer does not have this movie to check in end if end case end of checkIn ====================================================================================== checkOut method pseudocode if ( requested material is avalable ) switch ( material type ) case book: put this book into this customer's borrowed book list. set this book to unvailable for check out. case movie: put this movie into this customer's borrowed movie list. set this movie to unvailable for check out. end switch else Show error message that this material is unavailable to check out. end if end of checkOut ====================================================================================== verifyLogin method pseudocode if( Input login name and password are the same as the login name and password stored in customer's class) return true else return false end of verifyLogin ====================================================================================== changeLogin method pseudocode change login name to new login name end of changeLogin ====================================================================================== changePassword method pseudocode change password to new password. end of changePassword ====================================================================================== getLoginName method pseudocode return the customer's current login name. end of getLoginName