public CouchDbGoogleAuthenticatorAccount update ( final OneTimeTokenAccount account ) { setId ( account . getId ( ) ) ; setUsername ( account . getUsername ( ) ) ; setSecretKey ( account . getSecretKey ( ) ) ; setValidationCode ( account . getValidationCode ( ) ) ; setScratchCodes ( account . getScratchCodes ( ) ) ; setRegistrationDate ( account . getRegistrationDate ( ) ) ; return this ; }
Update account info from account object .