refactored date model in order to unify the management of both payment gateways