In obligations with definite periods, what has been paid in advance cannot be recovered.
If the person who paid was not aware when he did so of the existence of the period, he shall have a right to claim from the creditor the interest or fruits which the latter may have received from the thing.
History —Civil Code, 1930, § 1079.