according to the bargain

References in classic literature ?
Many of the menial offices, too, were to be performed by the wife of the porter, according to the bargain, leaving to poor Adrienne, however, all the care of her grandmother, whose room she seldom quitted, the duties of nurse and cook, and the still more important task of finding the means of subsistence.