Added methods in purchase model