protected static function valid_payment_types() { return array_map(function ($lvl) { return $lvl->db_name; }, PaymentType::cached_all()); }