added ability to set period, min amount spent, reward action and expiration action, just need to write matching methods, refs dioscouri/amritasingh-f3#76