client/extensions/woocommerce/state/sites/settings/stripe-connect-account/reducer.js
function connectAccountFetchComplete( state = {}, action ) {
	return Object.assign( {}, state, {
		connectedUserID: action.connectedUserID || '',
		displayName: action.displayName || '',
		email: action.email || '',
		error: action.error || '',
		firstName: action.firstName || '',
		isActivated: action.isActivated || false,
		isDeauthorizing: false,
		isRequesting: false,
		lastName: action.lastName || '',
		logo: action.logo || '',
	} );
}
function connectAccountFetchComplete( state = {}, action ) {
	return Object.assign( {}, state, {
		connectedUserID: action.connectedUserID || '',
		displayName: action.displayName || '',
		email: action.email || '',
		error: action.error || '',
		firstName: action.firstName || '',
		isActivated: action.isActivated || false,
		isDeauthorizing: false,
		isRequesting: false,
		lastName: action.lastName || '',
		logo: action.logo || '',
	} );
}
function connectAccountFetchComplete ( state = { } , action ) { return Object . assign ( { } , state , { connectedUserID : action . connectedUserID || '' , displayName : action . displayName || '' , email : action . email || '' , error : action . error || '' , firstName : action . firstName || '' , isActivated : action . isActivated || false , isDeauthorizing : false , isRequesting : false , lastName : action . lastName || '' , logo : action . logo || '' , } ) ; }
Updates state with fetched account details

@param  {Object} state  Current state
@param  {Object} action Action payload
@return {Object}        Updated state
Updates state with fetched account details