Put a generic expdate method in the Gateway class to reduce duplication.